# 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:** 7

<div class="post-metadata">

### Author: ![percona.jayj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/percona.jayj/32/25401_2.png) [@percona.jayj](https://discuss.elastic.co/u/percona.jayj)
#### Post date: [February 13, 2018, 8:29pm UTC](https://discuss.elastic.co/t/cant-use-doc-as-type-despite-it-being-declared-the-preferred-method/113837/7 "2018-02-13T20:29:12Z")

</div>

I believe I was testing 6.1 or maybe a 6.0 version at the time. I can't upgrade to 6.x yet because of [Creating new types in 6.0](https://discuss.elastic.co/t/creating-new-types-in-6-0/111350/6).

---

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