I would like to know whether Elasticsearch 5.0 supports embedded nodes. Thanks in advance.
That's disappointing. Embedded elasticsearch was fantastic for unit testing search code.
According to that post (ES Embedded should still work and it's just that they do not recommend it.
I've seen here in es-hadoop project they still use ES embedded. So I guess it should be fine to use ES embedded for unit tests.
Thanks for the reply, I'll check that project out.
You could also consider:
Hope it helps!
Embedded elasticsearch is not supported anymore
You can use this maven dependency, it will start elasticsearch 6 cluster for you
<dependency> <groupId>org.elasticsearch-6</groupId> <artifactId>elasticsearch-embedded-cluster</artifactId> <version>1.0-SNAPSHOT</version> </dependency>
You can read more details on