Hello,
I got this problem solved by changing fieldname, by reindexing: field1->field2
POST _reindex
{
"source": {
"index": "accountindex"
},
"dest": {
"index": "accountindex_new"
},
"script": {
"inline": "ctx._source.field2 = ctx._source.remove("field1")"
}
}