Browse Source

[REST API] set correct default value

The correct default value for the `expand_wildcards` parameter to `indices.get_alias` is `all` as of all
https://github.com/elastic/elasticsearch/commit/f4d75f0212dffb829aaca3622d3ce1db016d0981
Spencer 9 years ago
parent
commit
7037670aeb

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json

@@ -27,7 +27,7 @@
         "expand_wildcards": {
             "type" : "enum",
             "options" : ["open","closed","none","all"],
-            "default" : "open",
+            "default" : "all",
             "description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
         },
         "local": {