lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Pannell <>
Subject RE: Switching default parsing for Or and AND
Date Tue, 03 Jan 2006 15:40:12 GMT
You can do this, for example:

      QueryParser queryParser = new QueryParser(defaultField, new

-----Original Message-----
From: Mike Streeton []
Sent: 03 January 2006 12:48
Subject: Switching default parsing for Or and AND

Is there a way of altering the way lucene parses a default string to use
AND instead of OR, e.g. usually "joe bloggs" is executed as "joe OR
bloggs", is there a flag to change this to "joe AND bloggs" which seems
to be the way most search engines work.





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

View raw message