lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: QueryParser.parse() and Lucene1.4.1
Date Thu, 16 Sep 2004 18:47:07 GMT
On Thursday 16 September 2004 19:38, Polina Litvak wrote:

>  I ran my code first with lucene-1.3-final.jar, getting the query
> Field:(A AND -(B)) parsed into +Field:A -Field:B

This code:
Query query = QueryParser.parse("Field:(AAA AND -(BBB))", "field", new 

Will print this with Lucene 1.4.1:
+Field:aaa -Field:bbb

It will not work with "A" instead of "AAA" because "A" is a stopword. In 
other words, I still cannot reproduce your problem.



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

View raw message