How to Get all mapping type of an index

Hi All,
There is one idea :wink: , we can

  1. get all the documents
  2. grep _type field
  3. sort
  4. filter unique fields
    But i cann't retrive all documets via match_all query :cry: , is there any way to get all documents.