Reformats reindex API (#47483)
Reformats reindex API (#47483)

* Reformats reindex API

* Incorporated review feedback.

gingerwizard/elasticsearch,HonzaKral/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,HonzaKral/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,gingerwizard/elasticsearch,coding0011/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,uschindler/elasticsearch,scorpionvicky/elasticsearch,coding0011/elasticsearch,nknize/elasticsearch,nknize/elasticsearch,uschindler/elasticsearch,GlenRSmith/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,HonzaKral/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,robin13/elasticsearch,scorpionvicky/elasticsearch,nknize/elasticsearch,scorpionvicky/elasticsearch,coding0011/elasticsearch,robin13/elasticsearch,HonzaKral/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,scorpionvicky/elasticsearch,nknize/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,gingerwizard/elasticsearch,robin13/elasticsearch,robin13/elasticsearch