Browse Source

Merge pull request #17503 from Mpdreamz/fix/update-by-query-required-param-rest-spec

index is a required url part for update by query
Martijn Laarman 9 years ago
parent
commit
9fb38f11df

+ 1 - 0
rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json

@@ -8,6 +8,7 @@
       "comment": "most things below this are just copied from search.json",
       "parts": {
         "index": {
+         "required" : true,
          "type" : "list",
          "description" : "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices"
         },