I have updated my mappings/synonyms. I would like to reindex my data to the same index. I tried _reindex API
POST _reindex
{
"source": {
"index": "test"
},
"dest": {
"index": "test"
}
}
I get the following error
{
"error": {
"root_cause": [
{
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: reindex cannot write into an index its reading from [test];"
}
],
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: reindex cannot write into an index its reading from [test];"
},
"status": 400
}
What Am I doing wrong