Merge pull request #11661 from pjcard/patch-1
Make explicit the requirement for intervals to be integers Conflicts: docs/reference/search/aggregations/bucket/histogram-aggregation.asciidoc
This commit is contained in:
parent
c8f635d429
commit
64ec18afa0
|
@ -18,6 +18,8 @@ if (rem < 0) {
|
|||
bucket_key = value - rem
|
||||
--------------------------------------------------
|
||||
|
||||
From the rounding function above it can be seen that the intervals themsevles **must** be integers.
|
||||
|
||||
The following snippet "buckets" the products based on their `price` by interval of `50`:
|
||||
|
||||
[source,js]
|
||||
|
|
Loading…
Reference in New Issue