# Index routing settings

**URL:** https://discuss.elastic.co/t/index-routing-settings/49296
**Category:** Elasticsearch
**Created:** [May 5, 2016, 1:38pm UTC](https://discuss.elastic.co/t/index-routing-settings/49296 "2016-05-05T13:38:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dkota](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dkota](https://discuss.elastic.co/u/dkota)
#### Post date: [May 5, 2016, 1:38pm UTC](https://discuss.elastic.co/t/index-routing-settings/49296/1 "2016-05-05T13:38:56Z")

</div>

I'm trying to implement hot-cold architecture ([https://www.elastic.co/blog/hot-warm-architecture](https://www.elastic.co/blog/hot-warm-architecture))

Instead of using the curl to update the index setting, I want to use elasticsearch.yml to update the 'index.routing.allocation.require.box\_type'

this isn't working..

what is the syntax for this?

---

<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: [May 5, 2016, 10:59pm UTC](https://discuss.elastic.co/t/index-routing-settings/49296/2 "2016-05-05T22:59:14Z")

</div>

> [@dkota](#):
>
> Instead of using the curl to update the index setting, I want to use elasticsearch.yml to update the 'index.routing.allocation.require.box\_type'

That's not an ideal situation, as any changes to the config file require ES to be restarted for it to be applied.

---

<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 5, 2017, 10:53pm UTC](https://discuss.elastic.co/t/index-routing-settings/49296/3 "2017-07-05T22:53:33Z")

</div>


