Created
May 6, 2011 23:55
-
-
Save lobster1234/960029 to your computer and use it in GitHub Desktop.
Add a cluster name to Elasticsearch Java TransportClient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name",your_cluster_name).build(); | |
TransportClient client = new TransportClient(settings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment