Disallow dynamic mapping

Added config mapping

Original commit: elastic/x-pack-elasticsearch@f3de2c17bd
This commit is contained in:
Martijn van Groningen 2014-12-05 17:03:26 +01:00
parent c97e083a59
commit 45e5c13369
2 changed files with 9 additions and 3 deletions

View File

@ -4,7 +4,8 @@
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,
"index.alerts.template_version": 1
"index.alerts.template_version": 1,
"index.mapper.dynamic" : false
},
"mappings": {
"alerthistory": {

View File

@ -4,7 +4,8 @@
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 1,
"index.alerts.template_version": 1
"index.alerts.template_version": 1,
"index.mapper.dynamic" : false
},
"mappings": {
"alert": {
@ -53,6 +54,10 @@
"dynamic": true
}
}
},
"config": {
"enabled" : false,
"properties" : {}
}
}
}