# \_type in the Kibana has warning message

**URL:** <https://discuss.elastic.co/t/-type-in-the-kibana-has-warning-message/75669>\
**Category:** Kibana\
**Created:** [February 20, 2017, 5:53am UTC](https://discuss.elastic.co/t/-type-in-the-kibana-has-warning-message/75669 "2017-02-20T05:53:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suin\_You](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Suin\_You](https://discuss.elastic.co/u/Suin_You)\
**Post date:** [February 20, 2017, 5:53am UTC](https://discuss.elastic.co/t/-type-in-the-kibana-has-warning-message/75669/1 "2017-02-20T05:53:23Z")

</div>

I got two warning message.

> Doc values are not enabled on this field. this may lead to excess heap consumption when visualizing.  
> this field is not indexed and might not be usable in visualization.

What does this message mean? How to solve?

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [February 20, 2017, 11:32am UTC](https://discuss.elastic.co/t/-type-in-the-kibana-has-warning-message/75669/2 "2017-02-20T11:32:59Z")

</div>

Hi @Suin_You,

the first part of this message refers to the fact that Elasticsearch uses a specific data representation for some types of fields that enable aggregation and sorting in an efficient way. For aggregation and sort operations on fields that don't have this efficient on-disk representation Elasticsearch tries to emulate this in memory, which can be quite inefficient. The [documentation on `doc_values`](https://www.elastic.co/guide/en/elasticsearch/reference/current/doc-values.html) goes into a bit more detail.

The second part of the message indicates that Kibana could not reliably determine whether the `_type` field can be aggregated. An improvement to that will probably ship in one of the next versions, please refer to the [GitHub issue #5684](https://github.com/elastic/kibana/issues/5684) for details.

---

<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:** [March 20, 2017, 11:33am UTC](https://discuss.elastic.co/t/-type-in-the-kibana-has-warning-message/75669/3 "2017-03-20T11:33:03Z")

</div>

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