Class AggregationContext.ProductionAggregationContext

java.lang.Object
org.elasticsearch.search.aggregations.support.AggregationContext
org.elasticsearch.search.aggregations.support.AggregationContext.ProductionAggregationContext
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable
Enclosing class:
AggregationContext

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.