Browse Source

[DOCS] Correct conditional clause in histogram agg docs (#45643)

LHearen 6 years ago
parent
commit
6dadce1112
1 changed files with 4 additions and 2 deletions
  1. 4 2
      docs/reference/aggregations/bucket/histogram-aggregation.asciidoc

+ 4 - 2
docs/reference/aggregations/bucket/histogram-aggregation.asciidoc

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