[Xapian-discuss] Using special characters in query terms

James Aylett james-xapian at tartarus.org
Wed Apr 2 08:37:24 BST 2008


On Wed, Apr 02, 2008 at 05:56:57AM +0200, Lars Kruse wrote:

> My question: is there any way to protect special characters in a query?

Briefly: you probably need to avoid both TermGenerator and
QueryParser, and roll your own to get complete control over how you
generate terms out of document and query text. Queries themselves
don't care how you construct the terms.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list