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: help with boolean expression
Date Fri, 25 Feb 2005 21:55:38 GMT

On Feb 25, 2005, at 4:19 PM, Omar Didi wrote:
> I have a problem understanding how would lucene iterpret this boolean 
> expression : A AND B OR C .
> it neither return the same count as when I enter (A AND B) OR C nor A 
> AND (B OR C).
> if anyone knows how it is interpreted i would be thankful.

Output the toString() of the returned Query instances to see how 
QueryParser interpreted things.

	Erik


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


Mime
View raw message