[Xapian-discuss] Enquire set_cutoff problem

Donato Di Leo ddileo at edisoft.it
Mon Mar 17 11:42:21 GMT 2008


Olly Betts ha scritto:
> On Tue, Mar 11, 2008 at 07:32:04AM +0100, Donato Di Leo wrote:
>   
>> phpinfo() says:
>>
>> xapian
>> Xapian Support: Enabled
>> Xapian Compiled Version: 1.0.4
>> Xapian Linked Version: 1.0.5
>>     
>
> That should be fine then - smoketest.php has this regression test for
> bug#192 which is essentially indentical to one of the examples you
> report as not working:
>
>     # Regression test for bug#192 - fixed in 1.0.3.
>     $enq->set_cutoff(100);
>
> What PHP version are you using?
>
> And can you send us a short self-contained script which demonstrates the
> problem?
>
> Cheers,
>     Olly
>
>   
I found out the problem ...
I wrote the cutoff value as decimal value like 70.0 and in this way the 
procedure doesn't work
If I write 70 (integer value) the procedure works fine
thank you
Donato



More information about the Xapian-discuss mailing list