elasticsearch how to see index fields code example Example: elasticsearch get mapping curl -X GET "localhost:9200/my-index-000001/_mapping?pretty"