I have found there seems to be inconsistency between various information sources about whether the response elements in the response to a bulk request should be returned in the same order as the elements in the request. The official documentation for version 5.4 which I am using does not specify anything about ordering of the response, but pieces of documentation and forum posts from older versions state that they are in order, and newer documentation for newer versions of elasticsearch clearly state they are in order. I was wondering if anyone had a definitive answer source for whether I would or would not expect to get response elements in order?
The response to a bulk action is a large JSON structure with the individual results of each action that was performed in the same order as the actions that appeared in the request.
the source is from
At that link I see this:
"The response to a bulk action is a large JSON structure with the individual results of each action that was performed. The failure of a single action does not affect the remaining actions."
which says nothing about the ordering. Newer (and also some older 2.X) documentation does include that bit about ordering however, which is why I am a bit confused.
sorry. i find that in current version not in 5.4 version.
here is an issue that shows this omission was addressed in version 6.6.
I think it works for previous version.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.