# Cross Index Migration

**URL:** <https://discuss.elastic.co/t/cross-index-migration/96316>\
**Category:** Elasticsearch\
**Created:** [August 8, 2017, 5:42pm UTC](https://discuss.elastic.co/t/cross-index-migration/96316 "2017-08-08T17:42:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandu507.m](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@chandu507.m](https://discuss.elastic.co/u/chandu507.m)\
**Post date:** [August 8, 2017, 5:42pm UTC](https://discuss.elastic.co/t/cross-index-migration/96316/1 "2017-08-08T17:42:45Z")

</div>

Hello,

I am trying to migrate my Indexes with version upgrade.

The challenge here is I want to migrate the data to a modified index i.e. with less number fields and change in Field type on need basis.

Example:

If Index1 has 10 fields, I do not want to migrate all 10 fields since I am not making use of couple of fields i want to skip them and migrate the rest of the data. Also all the Type has to be changed to String to Keyword

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 10, 2017, 8:14am UTC](https://discuss.elastic.co/t/cross-index-migration/96316/2 "2017-08-10T08:14:53Z")

</div>

Have you looked at the reindex API? [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-reindex.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-reindex.html)

---

<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:** [September 7, 2017, 8:15am UTC](https://discuss.elastic.co/t/cross-index-migration/96316/3 "2017-09-07T08:15:03Z")

</div>

Closed on September 7, 2017, 8:15am UTC

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