[Xapian-discuss] Parsing the query

Tomasz Jackowiak tomasz.jackowiak at allegro.pl
Fri Oct 27 13:00:31 BST 2006


Hello,
I have a problem with QueryParser. Terms in database contain chars 
like '#!()@_'. I don't know how to search that terms using wildcard.

e.g.
term in db: XTERMaaa#bbb
query: term:aaa!b*

sending this to queryparser will give me:
Xapian::Query(XTERMaaa:(pos=1))
(I use STEM_NONE as stemming_strategy)
and of course it doesn't match anything.
When query looks like 'aaa*' everything works fine. So is it possible 
to use a wildcard with not alnum chars in query?

Tom



More information about the Xapian-discuss mailing list