From 93446cc6c72170f3da4d6c45737eb4127d53c7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Fri, 17 Jan 2014 22:37:35 +0100 Subject: [PATCH] indices.flush update --- elasticsearch/client/indices.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index c4f30f54..259d215c 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -51,11 +51,11 @@ class IndicesClient(NamespacedClient): return data @query_params('force', 'full', 'allow_no_indices', 'expand_wildcards', - 'ignore_indices', 'ignore_unavailable', 'refresh') + 'ignore_indices', 'ignore_unavailable') def flush(self, index=None, params=None): """ Explicitly flush one or more indices. - ``_ + ``_ :arg index: A comma-separated list of index names; use `_all` or empty string for all indices @@ -72,7 +72,6 @@ class IndicesClient(NamespacedClient): ignore `missing` ones (default: none) :arg ignore_unavailable: Whether specified concrete indices should be ignored when unavailable (missing or closed) - :arg refresh: Refresh the index after performing the operation """ _, data = self.transport.perform_request('POST', _make_path(index, '_flush'), params=params)