Failed to reindex nested fields

I have an index has

       "properties": {
            "Schema": {
                    	"Column_Name": {"type":"keyword"}

I tried to use reindex to change Schema.Column_Name to Schema.Attribute_Name with the following script:

		"inline": "ctx._source['Schema.Column_Name'] = ctx._source.remove('Schema.Attribute_Name')"

But I got error

 "type": "mapper_parsing_exception",
 "reason": "Cannot add a value for field [Schema.Column_Name] since one of the intermediate objects is mapped as a nested object: [Schema]"

Could someone help? Whether reindex of a nested field is supported?

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