[Xapian-discuss] set_sort_by_value change

Olly Betts olly at survex.com
Thu Mar 16 07:17:23 GMT 2006


On Fri, Mar 10, 2006 at 02:37:19PM +0000, Martin Hearn wrote:
> After upgrading to 0.9.4 I found the set_sort_by_value stopped working.
> I managed to solve it by changing the ascending value from TRUE or  
> FALSE to Enquire_ASCENDING or Enquire_DESCENDING

The argument is boolean, so TRUE and FALSE are the correct values.

I can believe this could be a problem caused by the changes in SWIG
which added support for wrapping overloaded functions and optional
parameters in PHP, but I can't actually reproduce your problem.

Can you post a snippet of code (or better still a really short script)
which shows the problem?  How does it not work, is there an error?

And what PHP version are you using?

Cheers,
    Olly



More information about the Xapian-discuss mailing list