lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <>
Subject Re: Determine whether a MatchAllQuery or a Query with atleast one Term
Date Mon, 30 Nov 2015 05:24:48 GMT
On Mon, Nov 30, 2015 at 4:15 PM, Sandeep Khanzode
<> wrote:
> I want to check whether the net effect of this query (bool or otherwise) is a MatchAllQuery
(i.e. without
> any terms) or a query with at least one term, or numeric range.

Or both.

    *:* OR field:text

The net effect is a MatchAllQuery, *AND* there is at least one term.


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

View raw message