I want to clone my index, i have done what shown in this page to clone the index using this command.
POST /my_index/_clone/my_index_clone
I also tried to make the index read-only first with this command
PUT /my_index/_settings
{ "settings": {
"index.blocks.write": false
}
}
But i always get this error
{
"error": {
"root_cause": [
{
"type": "parse_exception",
"reason": "request body is required"
}
],
"type": "parse_exception",
"reason": "request body is required"
},
"status": 400
}
Can someone help me on this? Thank you