Skip to content

Commit 1bb8f50

Browse files
iandanforth-alationhonzakral
authored andcommitted
Align order of arguments to put_mapping() in docs with code
1 parent b6eaa3c commit 1bb8f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/client/indices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ def put_mapping(self, body, doc_type=None, index=None, params=None):
331331
Register specific mapping definition for a specific type.
332332
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html>`_
333333
334-
:arg doc_type: The name of the document type
335334
:arg body: The mapping definition
335+
:arg doc_type: The name of the document type
336336
:arg index: A comma-separated list of index names the mapping should be
337337
added to (supports wildcards); use `_all` or omit to add the mapping
338338
on all indices.

0 commit comments

Comments
 (0)