Module tantivy::aggregation::intermediate_agg_result
source · Expand description
Contains the intermediate aggregation tree, that can be merged. Intermediate aggregation results can be used to merge results between segments or between indices.
Structs§
- Contains the intermediate aggregation result, which is optimized to be merged with other intermediate results.
- This is the histogram 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.
- Range aggregation including error counts
- This is the term entry for a bucket, which contains a count, and optionally sub_aggregations.
- Term aggregation including error counts
Enums§
- An aggregation is either a bucket or a metric.
- The intermediate bucket results. Internally they can be easily merged via the keys of the buckets.
- The key to identify a bucket. This might seem redundant with
Key
, but the point is to have a different Serialize implementation. - Holds the intermediate data for metric results