From 259e0e27294765108355e44362e6c4d0fbf654e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Fri, 17 Jan 2014 22:47:16 +0100 Subject: [PATCH] get_settings --- elasticsearch/client/indices.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index 83bdbeee..9039d409 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -453,13 +453,14 @@ class IndicesClient(NamespacedClient): return data @query_params('flat_settings') - def get_settings(self, index=None, params=None): + def get_settings(self, index=None, name=None, params=None): """ Retrieve settings for one or more (or all) indices. ``_ :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 flat_settings: Return settings in flat format (default: false) """ _, data = self.transport.perform_request('GET', _make_path(index, '_settings'),