Discovery of Elastic Search instances


(Samuel Doyle) #1

Hi, would there be much involved in discovery of instances and their
properties when they become available?
I would like to add functionality to my application that would require
zeroconf in determining the instances of elastic search thar are available
and what ports they are using to direct requests.

Thanks


(Lukáš Vlček) #2

Hi,

I think the best way would be to use Nodes Info REST API:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/admin/cluster/nodes_info/
Note that current doc needs to be updated as in current version the
ElasticSearch gives you a lot more info including http_address for each node
that you can use to talk to particular node.

Regards,
Lukas

On Sun, Jun 13, 2010 at 10:20 PM, Samuel Doyle samueldoyle@gmail.comwrote:

Hi, would there be much involved in discovery of instances and their
properties when they become available?
I would like to add functionality to my application that would require
zeroconf in determining the instances of elastic search thar are available
and what ports they are using to direct requests.

Thanks


(system) #3