Browse Source

Fix indent in example

Previously it would look like if `warnings` key is nested under `errors`.
Eugene Pirogov 9 years ago
parent
commit
d48af9a155
1 changed files with 12 additions and 13 deletions
  1. 12 13
      docs/reference/aggregations/bucket/filters-aggregation.asciidoc

+ 12 - 13
docs/reference/aggregations/bucket/filters-aggregation.asciidoc

@@ -46,19 +46,18 @@ Response:
       "buckets" : {
         "errors" : {
           "doc_count" : 34,
-            "monthly" : {
-              "buckets" : [
-                ... // the histogram monthly breakdown
-              ]
-            }
-          },
-          "warnings" : {
-            "doc_count" : 439,
-            "monthly" : {
-              "buckets" : [
-                 ... // the histogram monthly breakdown
-              ]
-            }
+          "monthly" : {
+            "buckets" : [
+              ... // the histogram monthly breakdown
+            ]
+          }
+        },
+        "warnings" : {
+          "doc_count" : 439,
+          "monthly" : {
+            "buckets" : [
+               ... // the histogram monthly breakdown
+            ]
           }
         }
       }