# Re-index api on hot nodes -

**URL:** <https://discuss.elastic.co/t/re-index-api-on-hot-nodes/72373>\
**Category:** Elasticsearch\
**Created:** [January 21, 2017, 5:33pm UTC](https://discuss.elastic.co/t/re-index-api-on-hot-nodes/72373 "2017-01-21T17:33:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![astro](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@astro](https://discuss.elastic.co/u/astro)\
**Post date:** [January 21, 2017, 5:33pm UTC](https://discuss.elastic.co/t/re-index-api-on-hot-nodes/72373/1 "2017-01-21T17:33:59Z")

</div>

Hi everyone ,

We are trying to implement hot warm architecture using ELK stack 5.x.x .( Current cluster is 2.x)

We need to move data from old to this new cluster . As we have made heavy duty of indexing on hot node's only ,

Just wanted to know , can we use remote re-index api , to reindex my indices from my 2.x cluster to my new 5.x cluster only on hot nodes (or may be warm) . Is there any parameter in re-index api so we can use  
"index.routing.allocation.require.box\_type": "warm/hot"  
so to index incoming data from 2.x cluster to warm nodes in my new cluster .

Note- I have tried re-indexing using remote and it's working fine but it's distributing data on all nodes .

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [January 21, 2017, 5:50pm UTC](https://discuss.elastic.co/t/re-index-api-on-hot-nodes/72373/2 "2017-01-21T17:50:21Z")

</div>

The reindex API copies the data. You should create the new index yourself  
first. If you set up the index using standard hot/warm settings it should  
be allocated on the right node.

---

<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:** [February 18, 2017, 5:50pm UTC](https://discuss.elastic.co/t/re-index-api-on-hot-nodes/72373/3 "2017-02-18T17:50:22Z")

</div>

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