Clarify range aggregations

This commit is contained in:
Binh Ly 2014-02-25 14:22:49 -05:00
parent f1f3aa3ac7
commit 7e49848697
2 changed files with 3 additions and 1 deletions

View File

@ -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 <<search-aggregations-bucket-range-aggregation,range>> 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 <<search-aggregations-bucket-range-aggregation,range>> 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:

View File

@ -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: