Order of actions in Bulk API via http between request and response is guaranteed?


(Wreulicke) #1

I am writing code to index some document using Bulk API.
In my case, I would like to retry to index in failed actions.

There are no guarantee that it is equals to order of actions between request and response?
(not execution order)

I seems that execution order is not guaranteed but orders between are guaranteed in followings.


This guarantee was not a things of the past?
Currently, Elasticsearch have guaranteed the equality of order between request and response in Bulk API yet?


(Alexander Reelsen) #2

The order of the elements is the same. If the 1000th request in your bulk request failed, you will be able to check this in the 1000th element of the response array structure.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.