From 80ccb181cd7d8220dac5a777a595cf71d50b03ef Mon Sep 17 00:00:00 2001 From: Jason Veatch Date: Wed, 9 Sep 2015 16:06:03 -0400 Subject: [PATCH] Removed "optionally", it might be confusing. --- elasticsearch/helpers/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/helpers/__init__.py b/elasticsearch/helpers/__init__.py index eb9c787e..1200efc4 100644 --- a/elasticsearch/helpers/__init__.py +++ b/elasticsearch/helpers/__init__.py @@ -67,8 +67,8 @@ def streaming_bulk(client, actions, chunk_size=500, raise_on_error=True, from the doc and use the rest as the document data. The :meth:`~elasticsearch.Elasticsearch.bulk` api accepts `index`, `create`, - `delete`, and `update` actions. Optionally use the `_op_type` field to specify - an action (`_op_type` defaults to `index`):: + `delete`, and `update` actions. Use the `_op_type` field to specify an + action (`_op_type` defaults to `index`):: { '_op_type': 'delete',