Class AggregationContext.ProductionAggregationContext

All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable
Enclosing class:

public static class AggregationContext.ProductionAggregationContext extends AggregationContext
Implementation of AggregationContext for production usage that wraps our ubiquitous SearchExecutionContext and anything else specific to aggregations. Unit tests should generally avoid using this because it requires a huge portion of a real Elasticsearch node.