Skip to content

Commit

Permalink
Set cause in index request in create index from source
Browse files Browse the repository at this point in the history
  • Loading branch information
parkertimmins committed Mar 7, 2025
1 parent 5b2ea77 commit c8a4eb8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ protected void doExecute(Task task, CreateIndexFromSourceAction.Request request,
}

var createIndexRequest = new CreateIndexRequest(request.destIndex()).settings(settings);
createIndexRequest.cause("create-index-from-source");
if (mergeMappings.isEmpty() == false) {
createIndexRequest.mapping(mergeMappings);
}
Expand Down

0 comments on commit c8a4eb8

Please sign in to comment.