Get ClusterHealthResponse using RestHighLevelClient in 6.3.2

In the documentation of master version the Cluster Health API is available under RestHighLevelClient.

How to achieve the same in version 6.3.2 using RestHighLevelClient?
I'm looking for ClusterHealthResponse.

Thanks in advance

Hi,
cluster health has been added with the 6.4.0 version of the client that was just released, see https://github.com/elastic/elasticsearch/pull/29331 . It is not available in previous versions.

Cheers
Luca

Thank you javanna.

Is there any other api to get list of indices in version 6.3.2?

Regards
Madhan Kumar

You can check out in our docs which API are supported in 6.3, the following ones are specifically the indices API: https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.3/_indices_apis.html .

We support indices exist but there isn't yet support for an API that allows to list indices. I am afraid you will need to resort to using the low-level REST client.

Cheers
Luca

Thats fine.

Is it possible to get via low level rest client(6.3.2)?

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