# Index level settings in elasticsearch v5.0

**URL:** <https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193>\
**Category:** Elasticsearch\
**Created:** [August 8, 2017, 6:23am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193 "2017-08-08T06:23:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![1222kkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/1222kkk/32/23635_2.png) [@1222kkk](https://discuss.elastic.co/u/1222kkk)\
**Post date:** [August 8, 2017, 6:23am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193/1 "2017-08-08T06:23:09Z")

</div>

Hi all,

I noticed that index level settings can't be set in elasticsearch.yml.

I just wonder how I can set `indices.fielddata.cache.size` ?

and other index memory cache settings like this one.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 8, 2017, 6:35am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193/2 "2017-08-08T06:35:12Z")

</div>

```auto
DELETE index
PUT index
{
  "settings": {
    // Settings here
  }
}

```

---

<div class="post-metadata">

**Author:** ![1222kkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/1222kkk/32/23635_2.png) [@1222kkk](https://discuss.elastic.co/u/1222kkk)\
**Post date:** [August 8, 2017, 6:41am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193/3 "2017-08-08T06:41:14Z")

</div>

Thanks for you reply.

I still have some confusion:

1. If I want to set the whole cluster index, I have to set this in each index one by one？

2. Once a index is created, can I still dynamically change the settings like `indices.fielddata.cache.size`?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 8, 2017, 8:42am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193/4 "2017-08-08T08:42:34Z")

</div>

One by one for existing indices yes. That was the same when those settings where available in `elasticsearch.yml` BTW.

You can change dynamically some settings. See [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-update-settings.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-update-settings.html)

---

<div class="post-metadata">

**Author:** ![1222kkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/1222kkk/32/23635_2.png) [@1222kkk](https://discuss.elastic.co/u/1222kkk)\
**Post date:** [August 14, 2017, 8:58am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193/5 "2017-08-14T08:58:31Z")

</div>

Oh,  
I found that settings like `indices.xx` still work while `index.xx` may result in errors.

referring to

[https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-fielddata.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-fielddata.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 11, 2017, 8:58am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193/6 "2017-09-11T08:58:45Z")

</div>

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