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: 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.

	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