Hi,
so I'm migrating ES5 to ES7 by loading indices in ES6, then reindexing them, doing a snapshot, and then loading the snapshot in ES7 and doing another reindex. I have noticed that the index size varies dramatically.
By doing the Reindex from ES5 to ES6, the index sizes reduced in size.
The current index I'm testing has 2.4 GB after restoring in ES7, the same index also has 2.4 GB before doing the snapshot -> all good.
But if I reindex on ES7, the index size changes to 4.2 GB, both indices have the same settings (shards = 5, replica = 1, no additional settings applied).
Additionally the ES7 index has 7666735 docs (same as ES6) and additionally docs.deleted is 1653461. During reindex I noticed that the index size increased further, after all documents were added.
Can someone hint / explain why this happens?
Why does a reindex increase the size by 75% ?
Why are there suddenly docs.deleted?