I have around 5 Million items in my index v1. I created a new index v2 with slight changes. I am trying to reindex all the items in v1 --> v2.
curl -XPOST 'localhost:9200/_reindex?pretty' -H 'Content-Type: application/json' -d'
{
"source": {
"index": "twitter"
},
"dest": {
"index": "new_twitter"
}
}
'
When I tried this, only 1.6 Million items are re indexed. The operation times out. How do I work around it ?