From fae0fdb254ef3891166a0b5b1afbb102f3e3f1cb Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Thu, 1 Aug 2013 14:47:54 +0200 Subject: [PATCH] remove duplicit doc_type defintion --- 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 223e82c7..62fa3c03 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -358,7 +358,7 @@ class Elasticsearch(object): status, data = self.transport.perform_request('POST', _make_path(index, doc_type, '_count'), params=params, body=body) return data - @query_params('consistency', 'doc_type', 'refresh', 'replication') + @query_params('consistency', 'refresh', 'replication') def bulk(self, body, index=None, doc_type=None, params=None): """ The bulk API makes it possible to perform many index/delete operations in a single API call.