# Merge indexes in elasticseach from reindex api

**URL:** https://discuss.elastic.co/t/merge-indexes-in-elasticseach-from-reindex-api/202663
**Category:** Elasticsearch
**Created:** [October 8, 2019, 12:06pm UTC](https://discuss.elastic.co/t/merge-indexes-in-elasticseach-from-reindex-api/202663 "2019-10-08T12:06:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![namali](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@namali](https://discuss.elastic.co/u/namali)
#### Post date: [October 8, 2019, 12:06pm UTC](https://discuss.elastic.co/t/merge-indexes-in-elasticseach-from-reindex-api/202663/1 "2019-10-08T12:06:54Z")

</div>

how can I merge two indexes  
eg:  
wanted to merger index1 and index 2 and make one index  
index1  
hotelcode  
hotelname  
citycode

index2  
citycode  
cityname

---

<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 5, 2019, 12:06pm UTC](https://discuss.elastic.co/t/merge-indexes-in-elasticseach-from-reindex-api/202663/2 "2019-11-05T12:06:56Z")

</div>

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