What difference does it make to add the "_all": { "enabled": false } to the default section rather in the specifiec index_name section ?
"mappings": {
"_default_": {
"_all": {
"enabled": false
}
},
"index_name": {
"_all": {
"enabled": false
},
"dynamic_templates": [
{