lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Farquhar <sc...@atlassian.com>
Subject Default queries to using And
Date Wed, 03 Sep 2003 01:10:33 GMT
Is it possible to get QueryParser.parse() to parse queries defaulting to
'AND' rather than 'OR'?

Currently if you search for 'A B' that is the same as 'A OR B'.  What I
would like is to default to 'A AND B'.

Apologies for the simple question.  I'm guessing the answer is probably more complex
(like Lucene returning A+B, then A, then B)?  I couldn't find anything in
the FAQ about this.

Cheers,
Scott

Mime
View raw message