Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: elasticsearch list of servers for connection #3

Open
faxm0dem opened this issue Nov 24, 2014 · 2 comments
Open

Enhancement: elasticsearch list of servers for connection #3

faxm0dem opened this issue Nov 24, 2014 · 2 comments

Comments

@faxm0dem
Copy link

Use a list for server instead of a string: usually ppl have multiple nodes in cluster, and this could also autodiscover when left empty

@faxm0dem faxm0dem changed the title Enhancement: list of servers for connection Enhancement: elasticsearch list of servers for connection Nov 24, 2014
@juhaszviktor
Copy link
Owner

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.

@faxm0dem
Copy link
Author

faxm0dem commented Dec 3, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants