Replies: 1 comment
-
Have a look at this test: https://github.com/ruflin/Elastica/blob/8.x/tests/BulkTest.php#L44 You should be able to set the OpType per document. Also you can do it here with raw data: https://github.com/ruflin/Elastica/blob/8.x/tests/BulkTest.php#L235 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to bulk update documents and that bulk should perform all 3 types (create, update, delete)
Currently I am able to create and update documents with "doc_as_upsert" and updateDocuments()
and delete documents with deleteDocuments()
and that are 2 requests, but I only want one request to reduce ES API calls from 2 to 1.
Is it currently possible to do that with elastica?
Beta Was this translation helpful? Give feedback.
All reactions