public class SearchContextAggregations
extends java.lang.Object
Constructor and Description |
---|
SearchContextAggregations(AggregatorFactories factories)
Creates a new aggregation context with the parsed aggregator factories
|
Modifier and Type | Method and Description |
---|---|
Aggregator[] |
aggregators() |
void |
aggregators(Aggregator[] aggregators)
Registers all the created aggregators (top level aggregators) for the search execution context.
|
AggregatorFactories |
factories() |
public SearchContextAggregations(AggregatorFactories factories)
public AggregatorFactories factories()
public Aggregator[] aggregators()
public void aggregators(Aggregator[] aggregators)
aggregators
- The top level aggregators of the search execution.