# Will elasticsearch 5.0 support embedded nodes?

**URL:** <https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331>\
**Category:** Elasticsearch\
**Created:** [October 6, 2016, 4:46am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331 "2016-10-06T04:46:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajind\_Ruparathna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajind_ruparathna/32/10545_2.png) [@Rajind\_Ruparathna](https://discuss.elastic.co/u/Rajind_Ruparathna)\
**Post date:** [October 6, 2016, 4:46am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/1 "2016-10-06T04:46:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 6, 2016, 5:03am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/2 "2016-10-06T05:03:10Z")

</div>

Read this: [https://www.elastic.co/blog/elasticsearch-the-server](https://www.elastic.co/blog/elasticsearch-the-server)

---

<div class="post-metadata">

**Author:** ![sksamuel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sksamuel/32/682_2.png) [@sksamuel](https://discuss.elastic.co/u/sksamuel)\
**Post date:** [October 27, 2016, 9:57pm UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/3 "2016-10-27T21:57:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Rajind\_Ruparathna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajind_ruparathna/32/10545_2.png) [@Rajind\_Ruparathna](https://discuss.elastic.co/u/Rajind_Ruparathna)\
**Post date:** [October 28, 2016, 3:09am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/4 "2016-10-28T03:09:22Z")

</div>

According to that [post](https://www.elastic.co/blog/elasticsearch-the-server) (ES Embedded should still work and it's just that they do not recommend it.

I've seen [here in es-hadoop](https://github.com/elastic/elasticsearch-hadoop/blob/fefcf8b191d287aca93a04144c67b803c6c81db5/mr/src/itest/java/org/elasticsearch/hadoop/EsEmbeddedServer.java) project they still use ES embedded. So I guess it should be fine to use ES embedded for unit tests.

---

<div class="post-metadata">

**Author:** ![sksamuel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sksamuel/32/682_2.png) [@sksamuel](https://discuss.elastic.co/u/sksamuel)\
**Post date:** [October 28, 2016, 7:20am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/5 "2016-10-28T07:20:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pnowy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pnowy/32/19868_2.png) [@pnowy](https://discuss.elastic.co/u/pnowy)\
**Post date:** [June 19, 2017, 7:36pm UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/6 "2017-06-19T19:36:56Z")

</div>

You could also consider:

> **[allegro/embedded-elasticsearch](https://github.com/allegro/embedded-elasticsearch)**
>
> embedded-elasticsearch - Tool that ease up creation of integration tests with Elasticsearch

Hope it helps!

---

<div class="post-metadata">

**Author:** ![Nitish\_Goyal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nitish_goyal/32/54988_2.png) [@Nitish\_Goyal](https://discuss.elastic.co/u/Nitish_Goyal)\
**Post date:** [August 17, 2018, 5:29am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/7 "2018-08-17T05:29:46Z")

</div>

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

> **[nitishgoyal13/elasticsearch-6-embedded-cluster](https://github.com/nitishgoyal13/elasticsearch-6-embedded-cluster)**
>
> elasticsearch-6-embedded-cluster - Embedded elasticsearch 6 cluster

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 4:29am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331/8 "2022-11-04T04:29:36Z")

</div>


