From 1bb8f50f58507297217e0deb694fcbdb3a60c18a Mon Sep 17 00:00:00 2001 From: Ian Danforth <52720125+iandanforth-alation@users.noreply.github.com> Date: Thu, 7 Nov 2019 13:54:04 -0800 Subject: [PATCH] Align order of arguments to put_mapping() in docs with code --- elasticsearch/client/indices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index b2645cee..979f3ebf 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -331,8 +331,8 @@ class IndicesClient(NamespacedClient): Register specific mapping definition for a specific type. ``_ - :arg doc_type: The name of the document type :arg body: The mapping definition + :arg doc_type: The name of the document type :arg index: A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.