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.
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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.