@gen.coroutine<EOL><INDENT>@query_params('<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL>def bulk(self, body, index=None, doc_type=None, params=None):<DEDENT>
_, data = yield self.transport.perform_request('<STR_LIT:POST>',<EOL>_make_path(index,<EOL>doc_type,<EOL>'<STR_LIT>'),<EOL>params=params,<EOL>body=self._bulk_body(body))<EOL>raise gen.Return(data)<EOL>
Perform many index/delete operations in a single API call.
`<http://elasticsearch.org/guide/reference/api/bulk/>`_

See the :func:`~elasticsearch.helpers.bulk_index` for a more friendly
API.

:arg body: The operation definition and data (action-data pairs)
:arg index: Default index for items which don't provide one
:arg doc_type: Default document type for items which don't provide one
:arg consistency: Explicit write consistency setting for the operation
:arg refresh: Refresh the index after performing the operation
:arg replication: Explicitly set the replication type (efault: sync)