Erick Erickson wrote:
>
> QueryParser.setDefaultOperator(QueryParser.Operator.AND).
>
That works. Thanks!
--
View this message in context:
http://www.nabble.com/Search-with-AND-by-default-tf3909294.html#a11086380
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
QueryParser.setDefaultOperator(QueryParser.Operator.AND).
Erick
On 6/12/07, Frank Schima <[EMAIL PROTECTED]> wrote:
I'm searching my index and if a user types multiple words (e.g. "two
words")
in the search field, I want both of the search terms to appear in the
resulting hits, but it appears