[Xapian-discuss] How to choose the proximity between search words

Nat n.depardieu at immanens.com
Wed Jan 4 09:58:40 GMT 2012


Olly Betts <olly <at> survex.com> writes:

> 
> If you build the phrase Query object by hand, you would do it like so:
> 
> $query = new XapianQuery(XapianQuery::OP_NEAR, array('hello', 'world'), 30);
> 
> Cheers,
>     Olly
> 

OK! Thank you, I understand now :)





More information about the Xapian-discuss mailing list