I had an index that had single type. Now, I am planning to enable "index.mapping.single_type" and I triggered the following API to make it happen, got the following error.
BTW, I closed the index before applying the above API.
Is there a problem with the syntax or is it not allowed .
PUT testindex1/_settings
{
"settings": {
"index.mapping.single_type": true
}
}
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "final testindex1 setting [index.mapping.single_type], not updateable"
}
],
"type": "illegal_argument_exception",
"reason": "final testindex1 setting [index.mapping.single_type], not updateable"
},
"status": 400
}