Aggregation result
map string to Aggregation result
This type represents a dictionary mapping string keys to Aggregation result values.
Union types (oneOf)
This type can be one of the following:
Sum aggregation result. value is always present and is zero if there were no values to process.
Weighted average aggregation result. value is missing if the weight was set to zero.
Value count aggregation result. value is always present.
Statistics aggregation result. min, max and avg are missing if there were no values to process
(count is zero).
Result of a terms aggregation when the field is a string.
Result of a terms aggregation when the field is some kind of whole number like a integer, long, or a date.
Result of a terms aggregation when the field is some kind of decimal number like a float, double, or distance.
Result of a terms aggregation when the field is unmapped. buckets is always empty.
Result of the rare_terms aggregation when the field is some kind of whole number like a integer, long, or a date.
Result of the rare_terms aggregation when the field is a string.
Result of a rare_terms aggregation when the field is unmapped. buckets is always empty.
Result of a date_range aggregation. Same format as a for a range aggregation: from and to
in buckets are milliseconds since the Epoch, represented as a floating point number.
-
bucketsunion oneOfrequired -
Same options as
bucketsinRangeAggregate
Result of a geo_distance aggregation. The unit for from and to is meters by default.
-
bucketsunion oneOfrequired -
Same options as
bucketsinRangeAggregate
Result of the significant_terms aggregation on an unmapped field. buckets is always empty.
Result of the cumulative_cardinality aggregation