[Xapian-discuss] Prefix lowercasing

Olly Betts olly at survex.com
Sat Feb 16 19:52:52 GMT 2008


On Thu, Feb 14, 2008 at 03:20:38PM +0000, Matthew Somerville wrote:
> The documentation at 
> http://xapian.org/docs/apidoc/html/classXapian_1_1QueryParser.html says that 
> a search for 'author:Orwell' becomes 'Aorwell', and 'a search for "site:Foo 
> domain:Bar author:Fred" will map to "(Hfoo OR Hbar) AND Afred".'

That's simply incorrect at the moment - a boolean prefixed term isn't
forced to lowercase.  I'll fix it.

> Am I missing anything, or do I have to preprocess the query string to 
> lowercase the boolean term provided?

Sadly that's the only option at the moment.  There should be a way to
allow boolean terms to be manipulated though.

Cheers,
    Olly



More information about the Xapian-discuss mailing list