[Xapian-discuss] Another query parser bug

Olly Betts olly at survex.com
Wed Oct 24 06:35:24 BST 2007


>    print "wrong: ".$QueryParser->parse_query(qq{(Title:word)
>    -notallowed},(FLAG_BOOLEAN | FLAG_PHRASE | FLAG_LOVEHATE |
>    FLAG_WILDCARD))."\n";
>    print "wrong: ".$QueryParser->parse_query(qq{Title:word
>    -notallowed},(FLAG_BOOLEAN | FLAG_PHRASE | FLAG_LOVEHATE |
>    FLAG_WILDCARD))."\n";
>    print "wrong: ".$QueryParser->parse_query(qq{-notallowed
>    Title:word},(FLAG_BOOLEAN | FLAG_PHRASE | FLAG_LOVEHATE |
>    FLAG_WILDCARD))."\n";

These should all now work in SVN HEAD.  The patch overlaps other changes 
so won't apply cleanly to 1.0.3, but you can get bootstrapped snapshots
of SVN HEAD from here:

http://www.xapian.org/bleeding.php

Cheers,
    Olly



More information about the Xapian-discuss mailing list