From d4eba59e3a986c9eff20ffd886a0dbbaf9ce4f0f Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Sat, 26 Oct 2013 14:53:01 -0700 Subject: [PATCH] Update __init__.py Fixed documentation to match code argument order. --- elasticsearch/client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index e966d5aa..64b13296 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -153,8 +153,8 @@ class Elasticsearch(object): :arg index: The name of the index :arg doc_type: The type of the document - :arg id: Document ID :arg body: The document + :arg id: Document ID :arg consistency: Explicit write consistency setting for the operation :arg op_type: Explicit operation type (default: index) :arg parent: ID of the parent document