Elasticsearch 9 · Indices and mappings
Read a mapping
Show the field types of an index.
curl -u elastic:$ELASTIC_PASSWORD --cacert http_ca.crt "https://localhost:9200/products/_mapping?pretty"
Official Elasticsearch 9 documentation
More indices and mappings commands
All indices and mappings commands · Elasticsearch 9 cheatsheet