# I want to know why the indices.id\_field\_data.enabled configuration is turned off by default

**URL:** <https://discuss.elastic.co/t/i-want-to-know-why-the-indices-id-field-data-enabled-configuration-is-turned-off-by-default/339338>\
**Category:** Elasticsearch\
**Created:** [July 26, 2023, 5:39pm UTC](https://discuss.elastic.co/t/i-want-to-know-why-the-indices-id-field-data-enabled-configuration-is-turned-off-by-default/339338 "2023-07-26T17:39:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kurt\_Rudolph](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kurt_rudolph/32/123926_2.png) [@Kurt\_Rudolph](https://discuss.elastic.co/u/Kurt_Rudolph)\
**Post date:** [July 26, 2023, 5:39pm UTC](https://discuss.elastic.co/t/i-want-to-know-why-the-indices-id-field-data-enabled-configuration-is-turned-off-by-default/339338/1 "2023-07-26T17:39:27Z")

</div>

This topic got automatically closed without an answer [I want to know why the indices.id\_field\_data.enabled configuration is turned off by default](https://discuss.elastic.co/t/i-want-to-know-why-the-indices-id-field-data-enabled-configuration-is-turned-off-by-default/336834)

I'm evaluating the impacts of upgrading from v7 -\> v8 and found an issue with indices.id\_field\_data.enabled now not enabled by default. In v7 it is, in v8 it's not. Why ?

I can't actually find specific doc for this configuration. I can somewhat infer what it does based on the doc for the `fielddata` setting on the mapping [Text type family | Elasticsearch Guide [8.9] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/text.html#fielddata-mapping-param) and assume it's because it can use significant memory but also I could be totally off and could use some explanation from the elastic folks.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [July 26, 2023, 5:50pm UTC](https://discuss.elastic.co/t/i-want-to-know-why-the-indices-id-field-data-enabled-configuration-is-turned-off-by-default/339338/2 "2023-07-26T17:50:36Z")

</div>

Sorting and aggregate on the `_id` field was deprecated on 7.6 and disabled by default on version 8 as you alredy found out.

This is mentioned in the [breaking changes](https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-8.0.html).

Fielddata is pretty expensive as it will use reside on the heap memory as mentioned in the [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/text.html#fielddata-mapping-param).

The main reason to disable this is probably this [github issue](https://github.com/elastic/elasticsearch/issues/43599) with more explanation about the impacts.

---

<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:** [August 23, 2023, 5:50pm UTC](https://discuss.elastic.co/t/i-want-to-know-why-the-indices-id-field-data-enabled-configuration-is-turned-off-by-default/339338/3 "2023-08-23T17:50:46Z")

</div>

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