Package org.elasticsearch.index.query
Class ParsedQuery
java.lang.Object
org.elasticsearch.index.query.ParsedQuery
The result of parsing a query.
-
Constructor Summary
ConstructorDescriptionParsedQuery(org.apache.lucene.search.Query query)
ParsedQuery(org.apache.lucene.search.Query query, Map<String,org.apache.lucene.search.Query> namedFilters)
Store the query and filters.ParsedQuery(org.apache.lucene.search.Query query, ParsedQuery parsedQuery)
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParsedQuery
org.apache.lucene.search.Query
query()
The query parsed.
-
Constructor Details
-
ParsedQuery
public ParsedQuery(org.apache.lucene.search.Query query, Map<String,org.apache.lucene.search.Query> namedFilters)Store the query and filters.- Parameters:
query
- the querynamedFilters
- an immutable Map containing the named filters. Good callers use emptyMap or unmodifiableMap and copy the source to make sure this is immutable.
-
ParsedQuery
-
ParsedQuery
public ParsedQuery(org.apache.lucene.search.Query query)
-
-
Method Details
-
query
public org.apache.lucene.search.Query query()The query parsed. -
namedFilters
-
parsedMatchAllQuery
-