From 3acb2fb48fe3daee77de660512660513bad9d2e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sun, 23 Feb 2014 15:01:01 +0100 Subject: [PATCH] Support expand_wildcards for indices.get_settings --- elasticsearch/client/indices.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index 05324bdf..66558d15 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -482,7 +482,8 @@ class IndicesClient(NamespacedClient): params=params) return data - @query_params('flat_settings', 'local') + @query_params('expand_wildcards', 'ignore_indices', 'ignore_unavailable', + 'flat_settings', 'local') def get_settings(self, index=None, name=None, params=None): """ Retrieve settings for one or more (or all) indices. @@ -491,6 +492,12 @@ class IndicesClient(NamespacedClient): :arg index: A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices :arg name: The name of the settings that should be included + :arg expand_wildcards: Whether to expand wildcard expression to concrete indices + that are open, closed or both. + :arg ignore_indices: When performed on multiple indices, allows to + ignore `missing` ones, default u'none' + :arg ignore_unavailable: Whether specified concrete indices should be ignored + when unavailable (missing or closed) :arg flat_settings: Return settings in flat format (default: false) :arg local: Return local information, do not retrieve the state from master node (default: false)