diff --git a/docs/reference/search/aggregations/bucket/daterange-aggregation.asciidoc b/docs/reference/search/aggregations/bucket/daterange-aggregation.asciidoc index 710f3acf2c3..6264649a313 100644 --- a/docs/reference/search/aggregations/bucket/daterange-aggregation.asciidoc +++ b/docs/reference/search/aggregations/bucket/daterange-aggregation.asciidoc @@ -1,7 +1,8 @@ [[search-aggregations-bucket-daterange-aggregation]] === Date Range -A range aggregation that is dedicated for date values. The main difference between this aggregation and the normal <> aggregation is that the `from` and `to` values can be expressed in Date Math expressions, and it is also possible to specify a date format by which the `from` and `to` response fields will be returned: +A range aggregation that is dedicated for date values. The main difference between this aggregation and the normal <> aggregation is that the `from` and `to` values can be expressed in Date Math expressions, and it is also possible to specify a date format by which the `from` and `to` response fields will be returned. +Note that this aggregration includes the `from` value and excludes the `to` value for each range. Example: diff --git a/docs/reference/search/aggregations/bucket/range-aggregation.asciidoc b/docs/reference/search/aggregations/bucket/range-aggregation.asciidoc index 41a4dd19035..86cd9f049a9 100644 --- a/docs/reference/search/aggregations/bucket/range-aggregation.asciidoc +++ b/docs/reference/search/aggregations/bucket/range-aggregation.asciidoc @@ -2,6 +2,7 @@ === Range A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket. During the aggregation process, the values extracted from each document will be checked against each bucket range and "bucket" the relevant/matching document. +Note that this aggregration includes the `from` value and excludes the `to` value for each range. Example: