Merge pull request #18125 from jeesim2/patch-3

Update java client.asciidoc - Settings.settingsBuilder() removal.
This commit is contained in:
David Pilato 2016-05-03 22:20:58 -07:00
commit 8bdd319a80
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ Note that you have to set the cluster name if you use one different than
[source,java]
--------------------------------------------------
Settings settings = Settings.settingsBuilder()
Settings settings = Settings.builder()
.put("cluster.name", "myClusterName").build();
Client client = TransportClient.builder().settings(settings).build();
//Add transport addresses and do something with the client...