diff --git a/Changelog.rst b/Changelog.rst index a34d40d3..63945467 100644 --- a/Changelog.rst +++ b/Changelog.rst @@ -3,6 +3,13 @@ Changelog ========= +0.4.5 (dev) +----------- + + * `get_alias` now has `name` as another optional parameter due to issue #4539 + in es repo. Note that the order of params have changed so if you are not + using keyword arguments this is a breaking change. + 0.4.4 (2013-12-23) ------------------ diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index 294c618c..bf43480c 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -301,7 +301,7 @@ class IndicesClient(NamespacedClient): return True @query_params('allow_no_indices', 'expand_wildcards', 'ignore_indices', 'ignore_unavailable') - def get_alias(self, name, index=None, params=None): + def get_alias(self, index=None, name=None, params=None): """ Retrieve a specified alias. ``_