Unable to retrieve cluster health status using JEST API


(Amit Soni) #1

Hi everyone - I have been using JEST APIs to make HTTP REST requests to
elastic search cluster. This works fine for queries but I am unable to find
a way to retrieve cluster health status using JEST.

Hence looking for a way to retrieve cluster health status using JEST.
Thoughts anyone?

-Amit.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(ferhatsb) #2

With 0.0.5-SNAPSHOT

Health health = new Health.Builder().build();
JestResult result = jestClient.execute(health);

Ferhat

On Saturday, August 31, 2013 5:11:55 AM UTC+3, amit.soni wrote:

Hi everyone - I have been using JEST APIs to make HTTP REST requests to
elastic search cluster. This works fine for queries but I am unable to find
a way to retrieve cluster health status using JEST.

Hence looking for a way to retrieve cluster health status using JEST.
Thoughts anyone?

-Amit.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3