Module tantivy::aggregation::metric
source · [−]Expand description
Module for all metric aggregations.
The aggregations in this family compute metrics, see super::agg_req::MetricAggregation for details.
Structs
A single-value metric aggregation that computes the average of numeric values that are extracted from the aggregated documents. Supported field types are u64, i64, and f64. See super::SingleMetricResult for return value.
Contains mergeable version of average data.
IntermediateStats contains the mergeable version for stats.
Single-metric aggregations use this common result structure.
Stats contains a collection of statistics.
A multi-value metric aggregation that computes stats of numeric values that are extracted from the aggregated documents. Supported field types are u64, i64, and f64. See Stats for returned statistics.