You can use both. But it’s your responsibility to check wether the node is up or not. Most elasticsearch clients (at least official ones) deal with that.
What language do you use? -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr <https://twitter.com/elasticsearchfr> | @scrutmydocs <https://twitter.com/scrutmydocs> > Le 13 janv. 2015 à 15:52, Vasu Thota <[email protected]> a écrit : > > Thanks David. > Now, which HTTP URL of elastic-search i need to configure from my client > application which is communicating with ES ??? > > Lets say, i have 192.67.24.34:9200, 192.67.24.35:9200 which are nodes my > cluster, now whats the address i need to communicate to. if one of them if i > use, what if the node goes down. > > > Thanks, > Vasu > > On Monday, January 12, 2015 at 7:45:32 PM UTC+5:30, David Pilato wrote: > You don’t have a cluster IP but you can access to each node IP using nodes > info for example: > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-info.html#cluster-nodes-info > > <http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-info.html#cluster-nodes-info> > > -- > David Pilato | Technical Advocate | Elasticsearch.com > <http://elasticsearch.com/> > @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr > <https://twitter.com/elasticsearchfr> | @scrutmydocs > <https://twitter.com/scrutmydocs> > > > >> Le 12 janv. 2015 à 14:47, Vasu Thota <[email protected] <javascript:>> a >> écrit : >> >> Hi All, >> >> Is there a way to find what's my cluster ip address where i have two >> node cluster. >> >> Thanks in Advance. >> >> Thanks, >> Vasu >> >> -- >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/1127acd2-9ab4-42c8-9de1-e6b3b3c9439d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/elasticsearch/1127acd2-9ab4-42c8-9de1-e6b3b3c9439d%40googlegroups.com?utm_medium=email&utm_source=footer>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/78b95d50-52c5-41cc-b22a-62c09e8dffea%40googlegroups.com > > <https://groups.google.com/d/msgid/elasticsearch/78b95d50-52c5-41cc-b22a-62c09e8dffea%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CBC7B02A-B4DD-484D-8958-826BACF684DD%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
