Update client.asciidoc

as of 42526ac28e
5.0.0 alpha2 have no settingsBuilder() method.
This commit is contained in:
Jihun No 2016-05-04 14:07:28 +09:00
parent 929187c71b
commit d63362ce43

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...