I am still trying to figure out what does _doc represents in elasticsearch? From the documentation, two places I could find it\'s usage are:
While in sortin
From ElasticSearch 8.x version, only _doc is supported and it is just an endpoint name, not a document type.
In 7.0, _doc represents the endpoint name instead of the document type. The _doc component is a permanent part of the path for the document index, get, and delete APIs going forward, and will not be removed in 8.0.
Elasticsearch 8.x Specifying types in requests is no longer supported. The include_type_name parameter is removed.
https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html