# Type in 6.2.1

**URL:** https://discuss.elastic.co/t/type-in-6-2-1/122868
**Category:** Elasticsearch
**Created:** [March 7, 2018, 11:24am UTC](https://discuss.elastic.co/t/type-in-6-2-1/122868 "2018-03-07T11:24:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)
#### Post date: [March 7, 2018, 11:24am UTC](https://discuss.elastic.co/t/type-in-6-2-1/122868/1 "2018-03-07T11:24:32Z")

</div>

As the type is being taken out in the next major release of the elasticsearch, why the doc type needs to be used in 6.2.1. I am not able to use the index template without using the doc type which is not useful for the project.

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [March 7, 2018, 4:34pm UTC](https://discuss.elastic.co/t/type-in-6-2-1/122868/2 "2018-03-07T16:34:37Z")

</div>

You might want to read the blog post about this topic [https://www.elastic.co/blog/removal-of-mapping-types-elasticsearch](https://www.elastic.co/blog/removal-of-mapping-types-elasticsearch)

`doc` is just an example, you can use any name currently, but a newly created index can only have one type

---

<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: [April 4, 2018, 4:35pm UTC](https://discuss.elastic.co/t/type-in-6-2-1/122868/3 "2018-04-04T16:35:00Z")

</div>

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