Hello,
I have installed ES 6.5.4 in my cluster. Also installed Size plugin 6.5.4. After restarting the cluster, tried creating an index with mappings as follows:
PUT test_index/
{
"mappings": { "my_type": {
"_size": {
"enabled": true
},
"properties": {
"field1": {
"type": "keyword"
}
}
}
}
}
But I got following error.
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [_size : {enabled=true}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [unified]: Root mapping definition has unsupported parameters: [_size : {enabled=true}]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [_size : {enabled=true}]"
}
},
"status": 400
}
Any help would be greatly appreciated.