Align order of arguments to put_mapping() in docs with code
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user