Package org.elasticsearch.search.aggregations
Builds analytic information over all hits in a search request.
-
Interface Summary Interface Description Aggregation An aggregation.Aggregator.Parser Parses the aggregation request and creates the appropriate aggregator factory for it.BaseAggregationBuilder Interface shared byAggregationBuilderandPipelineAggregationBuilderso they can conveniently share the same namespace forXContentParser.namedObject(Class, String, Object).HasAggregations KeyComparable<T extends MultiBucketsAggregation.Bucket & KeyComparable<T>> Defines behavior for comparingbucket keysto imposes a total ordering of buckets of the same type. -
Class Summary Class Description AbstractAggregationBuilder<AB extends AbstractAggregationBuilder<AB>> Base implementation of aAggregationBuilder.Aggregation.CommonFields Common xcontent fields that are shared among addAggregationAggregationBuilder A factory that knows how to create anAggregatorof a specific type.AggregationBuilder.CommonFields Common xcontent fields shared among aggregator buildersAggregationBuilders Utility class to create aggregations.AggregationPhase Aggregation phase of a search request, used to collect aggregationsAggregations Represents a set ofAggregationsAggregator An Aggregator.AggregatorBase Base implementation for concrete aggregators.AggregatorFactories AggregatorFactories.AggParseContext Context to parse and aggregation.AggregatorFactories.Builder AggregatorFactory<AF extends AggregatorFactory<AF>> AggregatorFactory.MultiBucketAggregatorWrapper BucketCollector A Collector that can collect data in separate buckets.BucketOrder MultiBucketsAggregation.BucketOrdering strategy.InternalAggregation An internal implementation ofAggregation.InternalAggregation.ReduceContext InternalAggregations An internal implementation ofAggregations.InternalMultiBucketAggregation<A extends InternalMultiBucketAggregation,B extends InternalMultiBucketAggregation.InternalBucket> InternalMultiBucketAggregation.InternalBucket InternalOrder Implementations forMultiBucketsAggregation.Bucketordering strategies.InternalOrder.Aggregation MultiBucketsAggregation.Bucketordering strategy to sort by a sub-aggregation.InternalOrder.CompoundOrder MultiBucketsAggregation.Bucketordering strategy to sort by multiple criteria.InternalOrder.Parser Contains logic for parsing aBucketOrderfrom aXContentParser.InternalOrder.Streams Contains logic for reading/writingBucketOrderfrom/to streams.LeafBucketCollector Per-leaf bucket collector.LeafBucketCollectorBase ALeafBucketCollectorthat delegates all calls to the sub leaf aggregator and sets the scorer on its source of values if it implementsScorerAware.MultiBucketConsumerService An aggregation service that creates instances ofMultiBucketConsumerService.MultiBucketConsumer.MultiBucketConsumerService.MultiBucketConsumer AnIntConsumerthat throws aMultiBucketConsumerService.TooManyBucketsExceptionwhen the sum of the provided values is above the limit (`search.max_buckets`).NonCollectingAggregator An aggregator that is not collected, this can typically be used when running an aggregation over a field that doesn't have a mapping.ParsedAggregation An implementation ofAggregationthat is parsed from a REST response.ParsedMultiBucketAggregation<B extends MultiBucketsAggregation.Bucket> ParsedMultiBucketAggregation.ParsedBucket PipelineAggregationBuilder A factory that knows how to create anPipelineAggregatorof a specific type.SearchContextAggregations The aggregation context that is part of the search context. -
Enum Summary Enum Description Aggregator.SubAggCollectionMode Aggregation mode for sub aggregations. -
Exception Summary Exception Description AggregationExecutionException Thrown when failing to execute an aggregationAggregationInitializationException Thrown when failing to execute an aggregationInvalidAggregationPathException MultiBucketConsumerService.TooManyBucketsException