Expand description
Aggregation framework: collectors, result types, and aggregation definitions.
See [[aggregations]] and [[feature-aggregations-v010|milestone-3]].
Modules§
- bucket
- Bucket aggregation implementations: terms, range, histogram, filter.
- hll
- HyperLogLog++ cardinality estimation for the
cardinalityaggregation. - metric
- Metric aggregation implementations: avg, sum, min, max, value_count, stats.
- parser
- Aggregation JSON parser.
- tdigest
- T-digest approximate percentile estimation for the
percentilesaggregation.
Structs§
- Bucket
- A single bucket in a bucket aggregation result.
- Bucket
Result - Result from a bucket aggregation.
- Hits
Result - Result from a top_hits aggregation.
- Metric
Result - Result from a metric aggregation (single numeric value).
- Range
Def - A range definition for range aggregation.
Enums§
- Aggregation
Expression - A composable aggregation expression. The engine’s native representation.
JSON is parsed into this at the edge. Analogous to
ScoringExpression. - Aggregation
Result - Top-level aggregation result.
- Bucket
Key - The key identifying a bucket.
- Calendar
Interval - Calendar-aware intervals.
- Date
Interval - Date histogram interval.
Traits§
- Aggregator
- Per-segment aggregation collector. Called once per matching document.
- Aggregator
Factory - Creates per-segment aggregation collectors and merges their results.