# Is there a way we can add multiple mappings of different index in single call?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-we-can-add-multiple-mappings-of-different-index-in-single-call/18079>\
**Category:** Elasticsearch\
**Created:** [June 12, 2014, 8:44pm UTC](https://discuss.elastic.co/t/is-there-a-way-we-can-add-multiple-mappings-of-different-index-in-single-call/18079 "2014-06-12T20:44:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_Dodla](https://avatars.discourse-cdn.com/v4/letter/v/dfb087/32.png) [@Vijay\_Dodla](https://discuss.elastic.co/u/Vijay_Dodla)\
**Post date:** [June 12, 2014, 8:44pm UTC](https://discuss.elastic.co/t/is-there-a-way-we-can-add-multiple-mappings-of-different-index-in-single-call/18079/1 "2014-06-12T20:44:49Z")

</div>

we have a requirement where we created tons of mappings under different  
indexes .Now if we need to move these mappings to test environment i need  
to post each mapping manually . Is there a way we can just copy only all  
mappings (no data ) from

1. one server to another server
2. one server to a file
3. from file to a server

Any pointers will be really helpful to me.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/03259852-59cb-4c9b-9acd-3ab4bebe2460%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/03259852-59cb-4c9b-9acd-3ab4bebe2460%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:22am UTC](https://discuss.elastic.co/t/is-there-a-way-we-can-add-multiple-mappings-of-different-index-in-single-call/18079/2 "2017-07-06T01:22:54Z")

</div>


