lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Changing default QueryParser operator from OR to AND
Date Fri, 10 Feb 2006 11:37:49 GMT
Hi guys, 

IF QueryParser gets a phrase with a number of words (ie: "here are
words") it uses the implicit operator OR - "here OR are OR words". LIA
on p94 says the operator "by default is OR", implying that there may be
some way to change this. 

We'd really like the default to be AND. Is that possible?


The information contained in this email message may be confidential. If you are not the intended
recipient, any use, interference with, disclosure or copying of this material is unauthorised
and prohibited. Although this message and any attachments are believed to be free of viruses,
no responsibility is accepted by Informa for any loss or damage arising in any way from receipt
or use thereof.  Messages to and from the company are monitored for operational reasons and
in accordance with lawful business practices. 
If you have received this message in error, please notify us by return and delete the message
and any attachments.  Further enquiries/returns can be sent to

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message