Skip to content

Commit e493fc4

Browse files
committed
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.
1 parent 13ae4b1 commit e493fc4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/reference/docs/bulk.asciidoc

+4-3
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ Client libraries using this protocol should try and strive to do
185185
something similar on the client side, and reduce buffering as much as
186186
possible.
187187

188-
The response to a bulk action is a large JSON structure with the
189-
individual results of each action that was performed. The failure of a
190-
single action does not affect the remaining actions.
188+
The response to a bulk action is a large JSON structure with the individual
189+
results of each action that was performed in the same order as the actions that
190+
appeared in the request. The failure of a single action does not affect the
191+
remaining actions.
191192

192193
There is no "correct" number of actions to perform in a single bulk
193194
call. You should experiment with different settings to find the optimum

0 commit comments

Comments
 (0)