[DOCS] Correct conditional clause in histogram agg docs (#45643)
This commit is contained in:
parent
da0a785685
commit
8f86faca5c
|
@ -185,8 +185,10 @@ the `order` setting. Supports the same `order` functionality as the <<search-agg
|
|||
|
||||
==== Offset
|
||||
|
||||
By default the bucket keys start with 0 and then continue in even spaced steps of `interval`, e.g. if the interval is 10 the first buckets
|
||||
(assuming there is data inside them) will be `[0, 10)`, `[10, 20)`, `[20, 30)`. The bucket boundaries can be shifted by using the `offset` option.
|
||||
By default the bucket keys start with 0 and then continue in even spaced steps
|
||||
of `interval`, e.g. if the interval is `10`, the first three buckets (assuming
|
||||
there is data inside them) will be `[0, 10)`, `[10, 20)`, `[20, 30)`. The bucket
|
||||
boundaries can be shifted by using the `offset` option.
|
||||
|
||||
This can be best illustrated with an example. If there are 10 documents with values ranging from 5 to 14, using interval `10` will result in
|
||||
two buckets with 5 documents each. If an additional offset `5` is used, there will be only one single bucket `[5, 15)` containing all the 10
|
||||
|
|
Loading…
Reference in New Issue