Dynamic Mapping on Index

How do I disable dynamic mapping on an index in ElasticSearch 7.5

Doc is here: https://www.elastic.co/guide/en/elasticsearch/reference/7.5/dynamic.html (it didn't change for 7.5)

PUT my_index
{
  "mappings": {
    "dynamic": false,
...

thankyou

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.