# Can't use \_doc as type despite it being declared the preferred method

**URL:** <https://discuss.elastic.co/t/cant-use-doc-as-type-despite-it-being-declared-the-preferred-method/113837>\
**Category:** Elasticsearch\
**Created:** [January 2, 2018, 9:05pm UTC](https://discuss.elastic.co/t/cant-use-doc-as-type-despite-it-being-declared-the-preferred-method/113837 "2018-01-02T21:05:19Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [February 22, 2018, 2:49am UTC](https://discuss.elastic.co/t/cant-use-doc-as-type-despite-it-being-declared-the-preferred-method/113837/9 "2018-02-22T02:49:40Z")

</div>

Sorry for the confusion, we addressed this in 6.2.0: [https://github.com/elastic/elasticsearch/pull/27816](https://github.com/elastic/elasticsearch/pull/27816)

---

_[View the full topic](https://discuss.elastic.co/t/cant-use-doc-as-type-despite-it-being-declared-the-preferred-method/113837)._
