Class ParsedQuery

java.lang.Object
org.elasticsearch.index.query.ParsedQuery

public class ParsedQuery extends Object
The result of parsing a query.
  • 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 query
      namedFilters - an immutable Map containing the named filters. Good callers use emptyMap or unmodifiableMap and copy the source to make sure this is immutable.
    • ParsedQuery

      public ParsedQuery(org.apache.lucene.search.Query query, ParsedQuery parsedQuery)
    • ParsedQuery

      public ParsedQuery(org.apache.lucene.search.Query query)
  • Method Details

    • query

      public org.apache.lucene.search.Query query()
      The query parsed.
    • namedFilters

      public Map<String,org.apache.lucene.search.Query> namedFilters()
    • parsedMatchAllQuery

      public static ParsedQuery parsedMatchAllQuery()