Hi, I have a trouble after trying to update an index mapping with ES 7.4 and 7.9:
PUT /myindex/_mapping
{
"properties": {
"doc": {
"properties": {
"transaction": {
"properties": {
"phoneNumber": {
"type": "keyword",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 32
}
}
}
}
}
}
}
}
}
return this error:
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "Setting index.mapper.dynamic was removed after version 6.0.0"
}
],
"type" : "illegal_argument_exception",
"reason" : "Setting index.mapper.dynamic was removed after version 6.0.0"
},
"status" : 400
}
If I check the index settings, I see it:
GET /myindex/_settings
{
"myindex" : {
"settings" : {
"index" : {
[...]
"mapper" : {
"dynamic" : "false"
},
"creation_date" : "1612899276385",
"version" : {
"created" : "7090199"
}
}
}
}
}
I try to remove it with the same error:
PUT /myindex/_settings
{"index.mapper.dynamic": null}
I checked if a template exist with this value without success:
curl "https://xxxx/_template?pretty&flat_settings" | grep mapper
nothing
Any ideas?