Getting task details from the RestHighLevelClient

Context:
I want to reindex a (remote) index, with the JAVA client (RestHighLevelClient, right ?) using the client version 7.2.1 (but I can probably upgrade if needed).
Also, I want to use a wait_for_completion=false to not keep the http call during the index.

Following the documentation:

However, I don't have the method "admin" on my RestHighLevelClient

Question:

  1. Can I achieve an aynchronious reindex operation and have the status of this task with the Java RestHighLevelClient
  2. If not, did you have any other alternative. I don't really want to rely on curl/httpget stuff ideally.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.