Browse Source

Clarify the order of responses to a bulk request (#36441)

Bulk requests comprise many individual actions, and the responses for each
action comes back in the same order (see e.g. `DocumentActionsIT#testBulk()`).
However the docs do not seem to explicitly state this vital fact. This commit
addresses that omission.
David Turner 6 years ago
parent
commit
bf42cedc13
1 changed files with 4 additions and 3 deletions
  1. 4 3
      docs/reference/docs/bulk.asciidoc

+ 4 - 3
docs/reference/docs/bulk.asciidoc

@@ -185,9 +185,10 @@ Client libraries using this protocol should try and strive to do
 something similar on the client side, and reduce buffering as much as
 possible.
 
-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.
+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 failure of a single action does not affect the
+remaining actions.
 
 There is no "correct" number of actions to perform in a single bulk
 call. You should experiment with different settings to find the optimum