remove duplicit doc_type defintion

This commit is contained in:
Honza Kral
2013-08-01 14:47:54 +02:00
parent 6cfde42985
commit fae0fdb254
+1 -1
View File
@@ -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.