# How to create Elaticsearch index dynamically from spring boot with the help of settings and mappings JSON file?

**URL:** <https://discuss.elastic.co/t/how-to-create-elaticsearch-index-dynamically-from-spring-boot-with-the-help-of-settings-and-mappings-json-file/192870>\
**Category:** Elasticsearch\
**Created:** [July 30, 2019, 10:28am UTC](https://discuss.elastic.co/t/how-to-create-elaticsearch-index-dynamically-from-spring-boot-with-the-help-of-settings-and-mappings-json-file/192870 "2019-07-30T10:28:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Kanakarajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramesh_kanakarajan/32/45283_2.png) [@Ramesh\_Kanakarajan](https://discuss.elastic.co/u/Ramesh_Kanakarajan)\
**Post date:** [July 30, 2019, 10:28am UTC](https://discuss.elastic.co/t/how-to-create-elaticsearch-index-dynamically-from-spring-boot-with-the-help-of-settings-and-mappings-json-file/192870/1 "2019-07-30T10:28:25Z")

</div>

How to create Elaticsearch index dynamically from spring boot with the help of settings and mappings JSON file?

---

<div class="post-metadata">

**Author:** ![aravindputrevu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aravindputrevu/32/24816_2.png) [@aravindputrevu](https://discuss.elastic.co/u/aravindputrevu)\
**Post date:** [July 30, 2019, 10:47am UTC](https://discuss.elastic.co/t/how-to-create-elaticsearch-index-dynamically-from-spring-boot-with-the-help-of-settings-and-mappings-json-file/192870/2 "2019-07-30T10:47:11Z")

</div>

Welcome to Elastic forums Ramesh!

You can take a look at [this example](https://github.com/dadoonet/legacy-search/) which narrates how to create an index and set the mappings dynamically.

---

<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:** [August 27, 2019, 10:47am UTC](https://discuss.elastic.co/t/how-to-create-elaticsearch-index-dynamically-from-spring-boot-with-the-help-of-settings-and-mappings-json-file/192870/3 "2019-08-27T10:47:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
