From e68786bc8a1dff5c5e795edd7ccbf70642176000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sat, 2 Aug 2014 14:31:47 +0200 Subject: [PATCH] Clearer message regardings alternate bulk operations. Fixes #107, thanks jwarzech! --- 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 f4294ed5..2a706070 100644 --- a/elasticsearch/helpers/__init__.py +++ b/elasticsearch/helpers/__init__.py @@ -58,8 +58,8 @@ def streaming_bulk(client, actions, chunk_size=500, raise_on_error=False, expand Alternatively, if `_source` is not present, it will pop all metadata fields from the doc and use the rest as the document data. - Alternative actions (`_op_type` field defaults to `index`) can be sent as - well:: + If you wish to perform other operations, like `delete` or `update` use the + `_op_type` field in your actions (`_op_type` defaults to `index`):: { '_op_type': 'delete',