You might want to read the blog post about this topic 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

---