Skip to content

Commit

Permalink
add index into bulk update request doc
Browse files Browse the repository at this point in the history
Signed-off-by: yuye-aws <[email protected]>
  • Loading branch information
yuye-aws committed Jul 12, 2024
1 parent 6b8b3ef commit 17e96d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ public void parse(
) {
updateRequest.fromXContent(sliceParser);
}
updateRequest.doc().index(index);
if (fetchSourceContext != null) {
updateRequest.fetchSource(fetchSourceContext);
}
Expand Down

0 comments on commit 17e96d8

Please sign in to comment.