Class QueryFilterAggregation

All Implemented Interfaces:

public class QueryFilterAggregation
extends QueryAggregation
A modifier that will narrow down the document set of the sub aggregations it precedes.
  • Constructor Details

    • QueryFilterAggregation

      public QueryFilterAggregation()
  • Method Details

    • getMatch

      public String getMatch()
      Gets the match.

      The filter written in Discovery Query Language syntax applied to the documents before sub aggregations are run.

      the match
    • getMatchingResults

      public Long getMatchingResults()
      Gets the matchingResults.

      Number of documents matching the filter.

      the matchingResults
    • getAggregations

      public List<QueryAggregation> getAggregations()
      Gets the aggregations.

      An array of sub aggregations.

      the aggregations