lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: AW: QueryParser explicit and implicit search operator
Date Mon, 19 Feb 2007 17:44:03 GMT

On Feb 19, 2007, at 10:32 AM, Karimi-Tabatabaie Jamal wrote:
> That means that  last query "Lucene OR Query" must be parsed  
> correct to "Lucene query" with the OR operator while default  
> operator is set to AND. Right?
>
> But in my implementation with default operator set to AND the query  
> 'Hare OR Tortoise' is parsed to 'Hare AND Tortoise'!

Are you perhaps lowercasing the "OR" somewhere along the way (and  
using a stop word removing analyzer)?

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message