how to know the mapping of a index in elasticsearch code example Example: elasticsearch get mapping curl -X GET "localhost:9200/my-index-000001/_mapping?pretty"