Merge remote-tracking branch 'pr/266'
This commit is contained in:
@@ -46,3 +46,4 @@ Jim Kelly <[email protected]>
|
|||||||
Xiuming Chen <[email protected]>
|
Xiuming Chen <[email protected]>
|
||||||
David Szotten <[email protected]>
|
David Szotten <[email protected]>
|
||||||
Jorgen Jorgensen <[email protected]>
|
Jorgen Jorgensen <[email protected]>
|
||||||
|
Jason Veatch <[email protected]>
|
||||||
|
|||||||
@@ -66,8 +66,9 @@ def streaming_bulk(client, actions, chunk_size=500, raise_on_error=True,
|
|||||||
Alternatively, if `_source` is not present, it will pop all metadata fields
|
Alternatively, if `_source` is not present, it will pop all metadata fields
|
||||||
from the doc and use the rest as the document data.
|
from the doc and use the rest as the document data.
|
||||||
|
|
||||||
If you wish to perform other operations, like `delete` or `update` use the
|
The :meth:`~elasticsearch.Elasticsearch.bulk` api accepts `index`, `create`,
|
||||||
`_op_type` field in your actions (`_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',
|
'_op_type': 'delete',
|
||||||
|
|||||||
Reference in New Issue
Block a user