Browse Source

Update bucket-sort-aggregation.asciidoc (#28937)

Added two trailing braces that were missing within the first example.
Craig van Tonder 7 years ago
parent
commit
95a13ea01c

+ 2 - 2
docs/reference/aggregations/pipeline/bucket-sort-aggregation.asciidoc

@@ -20,8 +20,8 @@ A `bucket_sort` aggregation looks like this in isolation:
 {
     "bucket_sort": {
         "sort": [
-            {"sort_field_1": {"order": "asc"},<1>
-            {"sort_field_2": {"order": "desc"},
+            {"sort_field_1": {"order": "asc"}},<1>
+            {"sort_field_2": {"order": "desc"}},
             "sort_field_3"
         ],
         "from": 1,