Align order of arguments to put_mapping() in docs with code

This commit is contained in:
Ian Danforth
2019-11-08 17:42:29 -05:00
committed by Honza Král
parent b6eaa3cee9
commit 1bb8f50f58
+1 -1
View File
@@ -331,8 +331,8 @@ class IndicesClient(NamespacedClient):
Register specific mapping definition for a specific type. Register specific mapping definition for a specific type.
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html>`_ `<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html>`_
:arg doc_type: The name of the document type
:arg body: The mapping definition :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 :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 added to (supports wildcards); use `_all` or omit to add the mapping
on all indices. on all indices.