[Xapian-discuss] Re: Possible bug with multiple prefixed and quoted terms?

Olly Betts olly at survex.com
Tue Jul 11 18:47:45 BST 2006


On Tue, Jul 11, 2006 at 02:02:17PM +0000, Mike Hsu wrote:
> $ ./omega 'P=author:"mencken, h.l."'
> Xapian::Query((author:(pos=1) OR mencken:(pos=2) OR (h:(pos=3) PHRASE 2
> l:(pos=4))))

Looks like I broke this with the previous change.  Try these:

http://www.oligarchy.co.uk/xapian/patches/queryparser_internal.cc
http://www.oligarchy.co.uk/xapian/patches/queryparser_token.h

If you've got a set of tests cases, I can add them to the
queryparsertest easily.  It has fairly good general coverage but
there are corner cases which aren't covered (like the one above).

Cheers,
    Olly



More information about the Xapian-discuss mailing list