Skip to content

Commit e68786b

Browse files
committed
Clearer message regardings alternate bulk operations.
Fixes elastic#107, thanks jwarzech!
1 parent 8966902 commit e68786b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elasticsearch/helpers/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def streaming_bulk(client, actions, chunk_size=500, raise_on_error=False, expand
5858
Alternatively, if `_source` is not present, it will pop all metadata fields
5959
from the doc and use the rest as the document data.
6060
61-
Alternative actions (`_op_type` field defaults to `index`) can be sent as
62-
well::
61+
If you wish to perform other operations, like `delete` or `update` use the
62+
`_op_type` field in your actions (`_op_type` defaults to `index`)::
6363
6464
{
6565
'_op_type': 'delete',

0 commit comments

Comments
 (0)