Class SearchContextAggregations
java.lang.Object
org.elasticsearch.search.aggregations.SearchContextAggregations
The aggregation context that is part of the search context.
-
Constructor Summary
ConstructorDescriptionSearchContextAggregations(AggregatorFactories factories)
Creates a new aggregation context with the parsed aggregator factories -
Method Summary
Modifier and TypeMethodDescriptionvoid
aggregators(Aggregator[] aggregators)
Registers all the created aggregators (top level aggregators) for the search execution context.
-
Constructor Details
-
SearchContextAggregations
Creates a new aggregation context with the parsed aggregator factories
-
-
Method Details
-
factories
-
aggregators
-
aggregators
Registers all the created aggregators (top level aggregators) for the search execution context.- Parameters:
aggregators
- The top level aggregators of the search execution.
-