lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Precedence in PrecedenceQueryParser
Date Tue, 25 Jul 2006 08:11:20 GMT
On Jul 25, 2006, at 3:11 AM, Eric Jain wrote:
> The query "foo NOT bar AND baz" seems to be interpreted as "+foo - 
> (+bar +baz)" (using default operator AND). Is this a bug, or a  
> feature?

It's been a while since I've touched PrecedenceQueryParser, but I  
recall there still being some issues with it.  I agree that this  
seems like a bug and the NOT should have a higher precedence than AND.


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

View raw message