[Xapian-discuss] QueryParser frustration!

jarrod roberson jarrod.roberson at gmail.com
Tue Jan 24 14:15:25 GMT 2006


I am trying to learn how to do more advanced Query construction with the
QueryParser, especially working with prefixes.
the problem is that it insists on breaking up any terms with
non-AlphaNumeric characters.

>searcher.py /tmp/wfs d647d4a0-57c0-11da-be78-080020b7eac9
Performing query `Xapian::Query((d647d4a0:(pos=1) PHRASE 5 57c0:(pos=2)
PHRASE 5 11da:(pos=3) PHRASE 5 be78:(pos=4) PHRASE 5 080020b7eac9:(pos=5)))'
0 results found
dhcp-102-246:~/Documents/workspace/wfs
>searcher.py /tmp/wfs UID:d647d4a0-57c0-11da-be78-080020b7eac9
Performing query `Xapian::Query((UID:d647d4a0:(pos=1) PHRASE 5
UID:57c0:(pos=2) PHRASE 5 UID:11da:(pos=3) PHRASE 5 UID:be78:(pos=4) PHRASE
5 UID:080020b7eac9:(pos=5)))'
0 results found

d647d4a0-57c0-11da-be78-080020b7eac9 is the complete term, UID: is the
prefix, I want to search for, how can I get it to stop splitting on
non-alphanumeric characters?

btw: I am working with the Python bindings right now version svn6532.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20060124/05f2a6e8/attachment.htm


More information about the Xapian-discuss mailing list