From 6d3a4e238d8c091bf81fb97c44d7d43b1d31dce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Mon, 6 Jan 2014 18:20:30 +0100 Subject: [PATCH] Adding description of force and full options to indices.flush --- elasticsearch/client/indices.py | 6 ++++-- rest-api-spec | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index bf43480c..cf70d694 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -59,8 +59,10 @@ class IndicesClient(NamespacedClient): :arg index: A comma-separated list of index names; use `_all` or empty string for all indices - :arg force: TODO: ? - :arg full: TODO: ? + :arg force: Whether a flush should be forced even if it is not + necessarily needed ie. if no changes will be committed to the index. + :arg full: If set to true a new index writer is created and settings + that have been changed related to the index writer will be refreshed. :arg allow_no_indices: Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) diff --git a/rest-api-spec b/rest-api-spec index 8517d895..af2b7762 160000 --- a/rest-api-spec +++ b/rest-api-spec @@ -1 +1 @@ -Subproject commit 8517d8954e6f7f8600e79a45442640b5ec77ad91 +Subproject commit af2b7762f7ecee9913e1d0d15a622308d561724d