[Xapian-discuss] Case sensitivity in QueryParser
Olly Betts
olly at survex.com
Mon Dec 18 12:08:16 GMT 2006
On Mon, Dec 18, 2006 at 04:49:49PM +0500, Sharjeel Ahmed Qureshi wrote:
> I am trying to use the query parser but somehow I can't find any option
> which enables case sensitivity. Currently, the query parser
> automatically converts all the terms to lower case in the returned Query
> object. In my case I don't want my terms converted to lower case. I've
> tried a lot but I couldn't find any such option. Can someone please help
> me out?
Sorry, there is no such option currently. You'll either have to modify
the QueryParser to allow this (which should be fairly easy), or parse
queries yourself.
Cheers,
Olly
More information about the Xapian-discuss
mailing list