How to issue reindex command using transport client

Hi Please help me with issuing reindex command using transport client.
also how to use transport client to monitor status of reindex.

Thanks,
Rahul

You need to install the reindex plugin on transport client and build the
requests for it. There is a discus.elastic.co post on doing it that you can
search for. I can't as I'm on mobile now.

As far as monitoring the progress, use the tasks APIs as documented. In 5.0
it'll be nicer because you can reliably use wait_for_completion=false but
for now you can still run the request synchronously and monitor with the
tasks APIs.