The Mapping I use es to get the index is as follows
GET index_name/_mapping
The result is correct, but there is warn, and then I changed it to the following
GET index_name/_mapping?include_type_name=true