what does _doc represents in elasticsearch?
_doc is a mapping type, which by the way is now deprecated. A mapping type used to be a separate collection inside the same index. E.g. a twitter index could have a mapping of type user for storing all users, and a mapping of type tweet to store all tweets. Both of these types still …