[Xapian-discuss] Is set_default_op = OP_NEAR limited to 2 search terms?

Kevin Duraj kevin.softdev at gmail.com
Thu Apr 17 23:47:52 BST 2008


I have issue when searching using more than 2 terms with
set_default_op = OP_NEAR ...
Are we limited to 2 terms maximum when using set_default_op = OP_NEAR ?

Reproducing the issue:

Search terms: "thomas bower phizer"
http://myhealthcare.com/cgi-bin/search?q=thomas+bower+phizer&bool=near
Software error:
Exception: Can't use NEAR/PHRASE with a subexpression containing NEAR or PHRASE

Search terms: "thomas bower"
http://myhealthcare.com/cgi-bin/search?q=thomas+bower&bool=near
OK

-- 
Kevin Duraj
http://myhealthcare.com



More information about the Xapian-discuss mailing list