Module org.elasticsearch.compute
Class ExpressionQueryList
java.lang.Object
org.elasticsearch.compute.operator.lookup.ExpressionQueryList
- All Implemented Interfaces:
LookupEnrichQueryGenerator
A
LookupEnrichQueryGenerator that combines multiple QueryLists into a single query.
Each query in the resulting query will be a conjunction of all queries from the input lists at the same position.
In the future we can extend this to support more complex expressions, such as disjunctions or negations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of queries in this generatororg.apache.lucene.search.QuerygetQuery(int position) Returns the query at the given position.
-
Constructor Details
-
ExpressionQueryList
-
-
Method Details
-
getQuery
public org.apache.lucene.search.Query getQuery(int position) Description copied from interface:LookupEnrichQueryGeneratorReturns the query at the given position.- Specified by:
getQueryin interfaceLookupEnrichQueryGenerator
-
getPositionCount
public int getPositionCount()Description copied from interface:LookupEnrichQueryGeneratorReturns the number of queries in this generator- Specified by:
getPositionCountin interfaceLookupEnrichQueryGenerator
-