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

tata 668 tata668 at gmail.com
Sat Jan 10 18:08:11 GMT 2009


It works great! Thanks James.


James Aylett wrote:
> On Sat, Jan 10, 2009 at 12:08:41PM -0500, tata 668 wrote:
> 
>> 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?
> 
> QueryParser::set_default_op(Query.OP_AND)
> 
> J
> 



More information about the Xapian-discuss mailing list