Changing ImmutableSettings to Settings for ES 2.0
This commit is contained in:
parent
87117a5b71
commit
8efa18e616
|
@ -94,7 +94,7 @@ import static org.elasticsearch.node.NodeBuilder.*;
|
||||||
// which means that they will leave the HTTP port open!
|
// which means that they will leave the HTTP port open!
|
||||||
Node node =
|
Node node =
|
||||||
nodeBuilder()
|
nodeBuilder()
|
||||||
.settings(ImmutableSettings.settingsBuilder().put("http.enabled", false))
|
.settings(Settings.settingsBuilder().put("http.enabled", false))
|
||||||
.client(true)
|
.client(true)
|
||||||
.node();
|
.node();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue