# Activate Reindex module in embedded Java application

**URL:** <https://discuss.elastic.co/t/activate-reindex-module-in-embedded-java-application/48552>\
**Category:** Elasticsearch\
**Created:** [April 27, 2016, 12:42pm UTC](https://discuss.elastic.co/t/activate-reindex-module-in-embedded-java-application/48552 "2016-04-27T12:42:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elwoodj](https://avatars.discourse-cdn.com/v4/letter/e/65b543/32.png) [@elwoodj](https://discuss.elastic.co/u/elwoodj)\
**Post date:** [April 27, 2016, 12:42pm UTC](https://discuss.elastic.co/t/activate-reindex-module-in-embedded-java-application/48552/1 "2016-04-27T12:42:22Z")

</div>

Hi there,

I use elasticsearch as an embedded node in my Java application. I'd like to use the new reindex-api, but I recognized that it is a seperate module. Is the there a possibility to activate the module via the Nodebuilder class in my application? What Iǘe tried was to add the maven dependency to the reindex-module, but I noticed that only modules in a special folder are scanned and loaded. I'd like to deploy all stuff in my JAR, without having dependencies in a seperate folder.

Any ideas?

Best regards

ElwoodJ

---

<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:** [July 5, 2017, 10:55pm UTC](https://discuss.elastic.co/t/activate-reindex-module-in-embedded-java-application/48552/2 "2017-07-05T22:55:59Z")

</div>


