We are using a elastic search cluster alongside our application
cluster, and would like to be able to detect nodes joining/leaving
(some sort of callback) so we can then do a index health check for
availability. We are using 0.14.3 at the moment.
Right now we just do a index health check every 5-10 seconds, which is
not optimal I think.
I looked through the source and was able to find ClusterStateListener,
but this doesn't seem to be exposed via the Java API.
I like to know if this could be on the works (feature request) or
already exists somewhere that we can make use of?
Thanks for a great search system!