.put("gateway.type", "local")
.put(SETTING_NUMBER_OF_SHARDS, 2)
</BUG>
.put(SETTING_NUMBER_OF_REPLICAS, 1)
<BUG>.build();
Node node1 = nodeBuilder().settings(settingsBuilder().put(settings).put("name", "server1")).node();

Node node2 = nodeBuilder().settings(settingsBuilder().put(settings).put("name", "server2")).node();
Node client = nodeBuilder().settings(settingsBuilder().put(settings).put("name", "client")).client(true).node();</BUG>
Client client1 = client.client();

.put("gateway.type", "local")
.put(SETTING_NUMBER_OF_SHARDS, 1)
.put(SETTING_NUMBER_OF_REPLICAS, 1)
.build();
Node[] nodes = new Node[1];
for (int i = 0; i < nodes.length; i++) {
nodes[i] = nodeBuilder().settings(settingsBuilder().put(settings).put("name", "node" + i)).node();
}
Node client = nodeBuilder().settings(settingsBuilder().put(settings).put("name", "client")).client(true).node();
Client client1 = client.client();
