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

Local Nodes and Cluster Connections #35

Open
schmitch opened this issue Jan 2, 2014 · 0 comments
Open

Local Nodes and Cluster Connections #35

schmitch opened this issue Jan 2, 2014 · 0 comments

Comments

@schmitch
Copy link

schmitch commented Jan 2, 2014

Hello, currently play2-elasticsearch could have local node's, but these nodes will be local. no matter what you want and you have no control over them.

But in the elasticsearch APIs there are ways to have local nodes that still connect to a cluster: http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html#node-client

So if you start: Node node = nodeBuilder().clusterName("yourclustername").node();
you would append your node to the cluster yourclustername. if the cluster doesn't exists it would create it.
so the node discovery/transport wouldn't be local. But it would still be a embedded
search server. currently you only have two options. local discovery/transport or not.

But I think its time to have local discovery/transport and the normal discovery/transport in your local elasticsearch. also you should have a way to configure client() to false/true or data to false/true since you could create a proxy node that just act as a client.

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

1 participant