From af72b993f76df2e66ef790c0829b78c592972e8e Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Sun, 16 Jun 2013 02:07:50 +0200 Subject: [PATCH] Docs for missing params --- elasticsearch/client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elasticsearch/client.py b/elasticsearch/client.py index a5ee16db..18123dd8 100644 --- a/elasticsearch/client.py +++ b/elasticsearch/client.py @@ -112,9 +112,11 @@ class InidicesClient(NamespacedClient): http://www.elasticsearch.org/guide/reference/api/admin-indices-analyze/ :arg index: The name of the index to scope the operation + :arg body: The text on which the analysis should be performed :arg analyzer: The name of the analyzer to use :arg field: The name of the field to :arg filters: A comma-separated list of filters to use for the analysis + :arg format: Format of the output, default u'detailed' :arg index: The name of the index to scope the operation :arg prefer_local: With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true) :arg text: The text on which the analysis should be performed (when request body is not used) @@ -142,6 +144,7 @@ class InidicesClient(NamespacedClient): http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index/ :arg index: The name of the index + :arg body: The configuration for the index (`settings` and `mappings`) :arg timeout: Explicit operation timeout """ status, data = self.transport.perform_request('PUT', _make_path(index), params=params, body=body)