Settings.Builder nodeSettings = Settings.builder()
.put("cluster.name", "my-integration-test")
.put("http.enabled", "true")
.put("path.data", dataDirectory)
.put("path.home", "/")
.put("transport.type", "netty4")
.put("network.host", "_local_")
.put("transport.tcp.port", "19200-19400")
.put("http.port", "19200-19400")
.put("discovery.type", "single-node");
LOG.info("Starting up embedded Elasticsearch");
node = new LocalNode(nodeSettings.build());