Open faxm0dem opened 9 years ago
I don't know how can we do the autodiscovering method. Have you any idea? I ask it, because you know the elasticsearch better, than me.
To add more than one server, we can simply call .addTransportAddress()
multiple times.
For autodiscover, I think we need to set up a node client as opposed to transport client.
I think the former feature is more important.
Use a list for
server
instead of a string: usually ppl have multiple nodes in cluster, and this could also autodiscover when left empty