Fail Index if document does not match explicit mapping

Is it possible to force a document to fail being indexed if it does not match an explicit mapping

https://www.elastic.co/guide/en/elasticsearch/reference/master/mapping.html#_explicit_mappings

Have a look at the strict option in https://www.elastic.co/guide/en/elasticsearch/reference/7.6/dynamic.html

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