Module tantivy::aggregation::agg_result
source · [−]Expand description
Contains the final aggregation tree.
This tree can be converted via the into()
method from IntermediateAggregationResults
.
This conversion computes the final result. For example: The intermediate result contains
intermediate average results, which is the sum and the number of values. The actual average is
calculated on the step from intermediate to final aggregation result tree.
Structs
The final aggegation result.
This is the default entry for a bucket, which contains a key, count, and optionally sub_aggregations.
This is the range entry for a bucket, which contains a key, count, and optionally sub_aggregations.
Enums
An aggregation is either a bucket or a metric.
BucketEntry holds bucket aggregation result types.
MetricResult