i was using elasticsearch-1.6 here we have an index and a type and inside that type we have the documents https://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-index_.html as we had twitter as an index and tweet as an type and 1 is the document id now i need to upgrade to elasticsearch current version which is 7.1 but in the docs the type is missing https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html
so how can i define a type in index ?