Package org.opensearch.search.aggregations.metrics
package org.opensearch.search.aggregations.metrics
Aggregations module
-
ClassDescriptionHyperloglog counter, implemented based on pseudo code from http://static.googleusercontent.com/media/research.google.com/fr//pubs/archive/40671.pdf and its appendix https://docs.google.com/document/d/1gyjfMHy43U9OWBXxfaeG-3MjGzejW1dlpyMwEYAAWEI/view?fullscreen Trying to understand what this class does without having read the paper is considered adventurous.Iterator over a HyperLogLog registerBase class for HLL++ algorithms.Linear counter, implemented based on pseudo code from http://static.googleusercontent.com/media/research.google.com/fr//pubs/archive/40671.pdf and its appendix https://docs.google.com/document/d/1gyjfMHy43U9OWBXxfaeG-3MjGzejW1dlpyMwEYAAWEI/view?fullscreen Trying to understand what this class does without having read the paper is considered adventurous.Iterator over the hash valuesThis provides a base class for aggregations that are building percentiles or percentiles-like functionality (e.g.An aggregation that computes the average of the values in the current bucket.Aggregation Builder for avg aggAn aggregation that computes approximate numbers of unique terms.Aggregation Builder for cardinality aggAn aggregator that computes approximate counts of unique values.Aggregator supplier interface for cardinality aggUsed to calculate sums using the Kahan summation algorithm.Statistics over a set of values (either aggregated over field data or scripts)The bounds of the extended statsAggregation Builder for extended stats aggBase supplier of an ExtendesStats aggregatorAggregator supplier interface for geo_bounds aggInterface for
GeoCentroidAggregator
Aggregation Builder for geo_centroid aggHyperloglog++ counter, implemented based on pseudo code from http://static.googleusercontent.com/media/research.google.com/fr//pubs/archive/40671.pdf and its appendix https://docs.google.com/document/d/1gyjfMHy43U9OWBXxfaeG-3MjGzejW1dlpyMwEYAAWEI/view?fullscreen This implementation is different from the original implementation in that it uses a hash table instead of a sorted list for linear counting.Implementation of internal aggImplementation of cardinality aggImplementation of extended stats aggSerialization and merge logic forGeoCentroidAggregator
.Implementation of HDR percentiles ranksTerator for HDR percentile ranks aggImplementation of HDR percentiles aggIterator for HDR percentilesImplementation of max aggImplementation of median absolute deviation aggImplementation of min aggBase aggregation to aggregate all docs into a single numeric metricMulte numeric metric valuesA single numeric metric valueImplementation of scripted metric aggImplementation of stats aggImplementation of sum aggImplementation of TDigest percentiles rank aggIter for the TDigest percentile ranks aggImplementation of TDigest percentiles aggIter for the TDigest percentiles aggResults of theTopHitsAggregator
.An internal implementation ofValueCount
.Implementation of weighted avg aggAn aggregation that computes the maximum of the values in the current bucket.Aggregation Builder for max aggAn aggregation that approximates the median absolute deviation of a numeric fieldAggregation Builder for median_absolute_deviation aggAggregate all docs into a median absolute deviationAggregation Factory for median_absolute_deviation aggAggregator supplier interface for median_absolute_deviation aggAggregator supplier interface for metric aggsCounterpart toAggregationInspectionHelper
, providing helpers for some aggs that have package-private getters.Base aggregator to aggregate all docs into a single metricAn aggregation that computes the minimum of the values in the current bucket.Aggregation Builder for min aggBase numeric metrics aggregation classMulti values in a numeric metrics aggA single value for the metrics aggBase class to aggregate all docs into a single numeric metric value.Multi numeric metric agg valueSingle numeric metric agg valueAn average agg result parsed between nodesA cardinality agg result parsed between nodesAn extended stats agg result parsed between nodesSerialization and merge logic forGeoCentroidAggregator
.An HDR agg result parsed between nodesAn HDR percentiles agg result parsed between nodesA max agg result parsed between nodesA median absolute deviation agg result parsed between nodesA min agg result parsed between nodesA single percentiles agg result parsed between nodesA scripted metric result parsed between nodesA single value numeric agg result parsed between nodesA stats agg result parsed between nodesA sum agg result parsed between nodesA TDigest percentiles rank agg result parsed between nodesA single TDigest percentiles result parsed between nodesA top_hits agg result parsed between nodesA value count agg result parsed between nodesA weighted average agg result parsed between nodesImplementation of a percentileAn aggregation that computes approximate percentiles given values.Aggregation Builder for percentile_ranks aggAn aggregation that computes approximate percentiles.Aggregation Builder for percentiles aggAggregator supplier interface for percentiles aggsA small config object that carries algo-specific settings.The HDR valueThe TDigestAn enum representing the methods for calculating percentilesA metric aggregation that computes both its final and intermediate states using scripts.Aggregation Builder for scripted_metric aggStatistics over a set of values (either aggregated over field data or scripts)Aggregation Builder for stats aggAn aggregation that computes the sum of the values in the current bucket.Aggregation Builder for sum aggAggregate all docs into a single sum valueExtension ofTDigest
with custom serialization.Accumulation of the most relevant hits for a bucket this aggregation falls into.Aggregation Builder for top_hits aggAn get that holds the number of values that the current document set has for a specific field.Aggregation Builder for value_count aggA field data based aggregator that counts the number of values a specific field has within the aggregation context.An aggregation that computes the average of the values in the current bucket.Aggregation Builder for weighted_avg agg