We have an index with 28 shards. Reindex is failing when we use the slice option as below.
POST https://localhost:9200/_reindex?wait_for_completion=false&slices=10
{"source":{ "index": "OldIndex"},"dest":{ "index": "newIndex" }}
Error:
Under failures, we see a lot of errors as below
{
"shard" : -1,
"reason" : {
"type" : "search_context_missing_exception",
"reason" : "No search context found for id [362565]"
}
},
Out of 2294306 docs, 2293280 docs reindexed and around 1026 docs missing.
Things tried and still not working
- Slice set to 10 , 5, 4
- added size option and set to 100