I am going to reindex with below query like.
{
"source": {
"index": "demodata"
},
"dest": {
"index": "new_twitter",
"op_type": "create"
},
"script": {
"source": "ctx._source['project'] = 'Personal3'",
"lang": "painless"
}
}
When project change same data/index need to reindex with new project name. But I am getting Conflict. I hope if there is any options to update the Id I can solve this issue.