You can set "client.transport.sniff" to true, then nodes are detected automatically
http://www.elastic.co/guide/en/elasticsearch/client/java-api/current/client.html#transport-client Jörg On Thu, Apr 2, 2015 at 12:25 PM, Jason Wee <peich...@gmail.com> wrote: > Hello, elasticsearch java transport client , for index, is the thread > spawn bounded? if not, is there a way to set it to a fix value? When one of > a node in cluster is down, java transport client will remove this downed > node from its list, right? But when the downed node has joined back into > the cluster, does the transport client automatically add the new node back > to its list? > > Thanks. > > Jason > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/639ada4d-1176-4e2a-b437-a81f8ec72d4f%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/639ada4d-1176-4e2a-b437-a81f8ec72d4f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoG8CP09KftpumV29BnTsx%2BjJ6ttK4BzM3ZSvHv07B7wkQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.