From the documents I learn that _type is deprecated from 6.0.0. But when I use the following syntax:
PUT my_index/1 in elasticsearch 6.5, it returns with the following:
"error": "Incorrect HTTP method for uri [/my_index/1?pretty] and method [PUT], allowed: [POST]",
So does this mean _doc is still needed when creating a new document?