Browse Source

include not work in 5.x anymore (#21815)

include not work in 5.x anymore use includes instead
Carney Wu 9 years ago
parent
commit
2c0db3909f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

+ 1 - 1
docs/reference/aggregations/metrics/tophits-aggregation.asciidoc

@@ -51,7 +51,7 @@ only the title field is being included in the source.
                             }
                         ],
                         "_source": {
-                            "include": [
+                            "includes": [
                                 "title"
                             ]
                         },