浏览代码

Docs: fold section into current chapter

In #25602 we added a new *chapter* on aggregating by day of the
week. We intended to add a new *section* but we were missing a
single `=`.
Nik Everett 8 年之前
父节点
当前提交
7e76b2a8c3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc

+ 2 - 2
docs/reference/aggregations/bucket/datehistogram-aggregation.asciidoc

@@ -398,7 +398,7 @@ the `order` setting. Supports the same `order` functionality as the <<search-agg
 
 
 deprecated[6.0.0, Use `_key` instead of `_time` to order buckets by their dates/keys]
 deprecated[6.0.0, Use `_key` instead of `_time` to order buckets by their dates/keys]
 
 
-=== Use of a script to aggregate by day of the week
+==== Use of a script to aggregate by day of the week
 
 
 There are some cases where date histogram can't help us, like for example, when we need
 There are some cases where date histogram can't help us, like for example, when we need
 to aggregate the results by day of the week.
 to aggregate the results by day of the week.
@@ -451,4 +451,4 @@ Response:
 // TESTRESPONSE[s/\.\.\./"took": $body.took,"timed_out": false,"_shards": $body._shards,"hits": $body.hits,/]
 // TESTRESPONSE[s/\.\.\./"took": $body.took,"timed_out": false,"_shards": $body._shards,"hits": $body.hits,/]
 
 
 The response will contain all the buckets having as key the relative day of
 The response will contain all the buckets having as key the relative day of
-the week: 1 for Monday, 2 for Tuesday... 7 for Sunday.
+the week: 1 for Monday, 2 for Tuesday... 7 for Sunday.