# \_type field not indexed

**URL:** <https://discuss.elastic.co/t/-type-field-not-indexed/49143>\
**Category:** Elasticsearch\
**Created:** [May 4, 2016, 9:46am UTC](https://discuss.elastic.co/t/-type-field-not-indexed/49143 "2016-05-04T09:46:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michele\_crudele](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@michele\_crudele](https://discuss.elastic.co/u/michele_crudele)\
**Post date:** [May 4, 2016, 9:46am UTC](https://discuss.elastic.co/t/-type-field-not-indexed/49143/1 "2016-05-04T09:46:29Z")

</div>

A question about elasticsearch 2.3 and kibana 4.5. Anytime I create a new index in elasticsearch and I add to to kibana, I discover that the \_type field is not indexed.  
Kibana shows a warning message saying that the \_type field is not available for visualization end search.  
However, when I use it to scope a query to a given type of document in my index (\_type: mydoctype) it seems to work, but I discovered strange behaviors using it in Graph plugin.

I did not notice this behavior with older versions of the stack: I have a couple of older indexes in elasticsearch, where the \_type field appears as indexed.  
If I recreate those indexes with the same data and scripts I get the problem of the \_type field not indexed.

Is there anything I need to do when creating the index and/or when indexing my data to have the \_type field correctly created as indexed? Thanks in advance.

---

<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:54pm UTC](https://discuss.elastic.co/t/-type-field-not-indexed/49143/2 "2017-07-05T22:54:07Z")

</div>


