lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hui" <>
Subject Re: AND instead OR for the search
Date Tue, 05 Aug 2003 13:37:02 GMT
I tried this before with 1.3rc1. The query parser still uses "OR" rather
than "AND" as default even after I set the operator to AND.
I found this issue had been reported before but no answer for it.

Any idea to solve the issue?

----- Original Message -----
From: "Erik Hatcher" <>
To: "Lucene Users List" <>
Sent: Monday, August 04, 2003 9:11 PM
Subject: Re: AND instead OR for the search

QueryParser, at least in Lucene's CVS, supports an attribute to toggle
this capability.


On Monday, August 4, 2003, at 06:19  PM, Sebastien X wrote:

> Hi everybody,
> When I make a search, for example : "Jakarta lucene"
> The search engine interpret the query like "Jakarta OR lucene"
> I wish this could be "Jakarta AND lucene" (like the most of internet
> search engine) because the OR clause is not very intuitive for the
> users.
> Could we use a method for using AND instead OR when we use Lucene?
> Tanks for advance
> S├ębastien

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

View raw message