lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <trej...@trypticon.org>
Subject Re: Grouping in Lucene queries giving unexpected results
Date Thu, 16 Feb 2017 22:08:39 GMT
On Fri, Feb 17, 2017 at 5:42 AM, Michael Peterson <quux00@gmail.com> wrote:
> I have a question about the meaning and behavior of grouping behavior with
> Lucene queries.

For this query:

    host:host_1 AND (NOT location:location_5)

The right hand side is:

    NOT location:location_5

Which matches nothing, as it has no positive clauses. And, of course,
ANDing that with any other query results in matching nothing.

TX

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