Will elasticsearch 5.0 support embedded nodes?


(Rajind Ruparathna) #1

I would like to know whether Elasticsearch 5.0 supports embedded nodes. Thanks in advance.


(David Pilato) #2

Read this: https://www.elastic.co/blog/elasticsearch-the-server


(Stephen Samuel) #3

That's disappointing. Embedded elasticsearch was fantastic for unit testing search code.


(Rajind Ruparathna) #4

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.


(Stephen Samuel) #5

Thanks for the reply, I'll check that project out.


(Przemek) #6

You could also consider:

Hope it helps!


(Nitish Goyal) #7

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