[Xapian-discuss] QueryParser::parse_query() uses OR by default? How to switch to AND?

tata 668 tata668 at gmail.com
Sat Jan 10 17:08:41 GMT 2009

I use the QueryParser::parse_query() method but I see it uses "OR" by default between words? Is 
there a way to make it use "AND" instead?

I see there are flags I can pass to the parse_query() method but none seems to allow a switch from 
OR to AND.

I would like to do that without having to write my own query parser. Everything else is fine with 
the QueryParser parsing, for my use.

Thanks in advance!


More information about the Xapian-discuss mailing list