How to issue reindex command using transport client


(Rahul Sharma) #1

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

Thanks,
Rahul


(Nik Everett) #2

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.


(system) #3