[Xapian-discuss] Proximity in Xapian?

Olly Betts olly at survex.com
Thu Dec 7 02:52:40 GMT 2006


On Wed, Dec 06, 2006 at 11:59:47AM +0500, Sharjeel Ahmed Qureshi wrote:
> Thats a little confusing. Shouldn't it be
> "foo AND bar OR (foo NEAR/5 bar)" ?
>              ^^

Sorry, yes.  Or to make the precedence completely explicit:

    (foo AND bar) OR (foo NEAR/5 bar)

Another similar trick is:

    (foo AND bar) OR "foo bar"

Cheers,
    Olly



More information about the Xapian-discuss mailing list