# Why I see fielddata when doc\_value is enabled in Aggregations?

**URL:** https://discuss.elastic.co/t/why-i-see-fielddata-when-doc-value-is-enabled-in-aggregations/158559
**Category:** Elasticsearch
**Created:** [November 28, 2018, 11:55am UTC](https://discuss.elastic.co/t/why-i-see-fielddata-when-doc-value-is-enabled-in-aggregations/158559 "2018-11-28T11:55:57Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)
#### Post date: [November 28, 2018, 12:11pm UTC](https://discuss.elastic.co/t/why-i-see-fielddata-when-doc-value-is-enabled-in-aggregations/158559/2 "2018-11-28T12:11:16Z")

</div>

See Global Ordinals discussion: [Global ordinals performance and size on-heap](https://discuss.elastic.co/t/global-ordinals-performance-and-size-on-heap/158320)  
From there:

> "They are monitored in the `fielddata` stats, we could have a dedicated section but if you don't have any `text` field that loads `fielddata` then the memory reported can be attributed to global ordinals entirely."

---

_[View the full topic](https://discuss.elastic.co/t/why-i-see-fielddata-when-doc-value-is-enabled-in-aggregations/158559)._
