static synchronized EmbeddedElasticsearchNode create() {
    File home = Files.createTempDir();
    home.deleteOnExit();

    Settings settings = Settings.builder()
            .put("node.name", "embedded-test-elastic")
            .put("path.home", home.getAbsolutePath())
            .put("http.type", "netty4")
            // allow multiple instances to run in parallel
            .put("transport.tcp.port", 0)
            .put("http.port", 0)
            .put("network.host", "localhost")
            .build();

    return create(settings);
  }
Creates elastic node as single member of a cluster. Node will not be started
unless {@link #start()} is explicitly called.
<p>Need {@code synchronized} because of static caches inside ES (which are not thread safe).
@return instance which needs to be explicitly started (using {@link #start()})
criteria/elasticsearch/test/org/immutables/criteria/elasticsearch/EmbeddedElasticsearchNode.java