diff --git a/docs/content/Aggregations.md b/docs/content/Aggregations.md index 1cbf690020d..71ec7c0f514 100644 --- a/docs/content/Aggregations.md +++ b/docs/content/Aggregations.md @@ -36,20 +36,36 @@ Computes the sum of values as 64-bit floating point value. Similar to `longSum` ### Min / Max aggregators -#### `min` aggregator +#### `doubleMin` aggregator -`min` computes the minimum metric value +`doubleMin` computes the minimum of all metric values and Double.POSITIVE_INFINITY ```json -{ "type" : "min", "name" : , "fieldName" : } +{ "type" : "doubleMin", "name" : , "fieldName" : } ``` -#### `max` aggregator +#### `doubleMax` aggregator -`max` computes the maximum metric value +`doubleMax` computes the maximum of all metric values and Double.NEGATIVE_INFINITY ```json -{ "type" : "max", "name" : , "fieldName" : } +{ "type" : "doubleMax", "name" : , "fieldName" : } +``` + +#### `longMin` aggregator + +`longMin` computes the minimum of all metric values and Long.MAX_VALUE + +```json +{ "type" : "longMin", "name" : , "fieldName" : } +``` + +#### `longMax` aggregator + +`longMax` computes the maximum of all metric values and Long.MIN_VALUE + +```json +{ "type" : "longMax", "name" : , "fieldName" : } ``` ### JavaScript aggregator