i got 2 index: index_A with 10 docs indexB with 4 docs
I try to
- reindex index_A and index_B to index_C
- reindex index_A and index_B to index_D
with no error message
I found both index_C and index_D got 14 docs, expected
but the storage size of the index_C and index_D is not the same.
Is it normal? Why?
There are several factors that can influence storage size so the small differences you are seeing for these tiny data volumes is nothing I would be worried about. Assuming the data ingested is exactly the same, differences in the mappings of the indices will make a difference. It is also important to check if the number of segments differ. For an accurate size comparison always make sure you forcemerge down to a single segment.
Thanks for your reply.
I try to
POST /indexName/_forcemerge
no help. The size is also different. But I checked there is no missing data.
You need to specify the max number of segments:
POST /indexName/_forcemerge?max_num_segments=1
1 Like
Big thx.
No luck. after forecemerge the storage size is also different.
The difference you are seeing is IMHO really irrelevant, so I do not understand why you are concerned by it. Not sure whether the order documents are indexed may cause small differences in the size of files and efficiency of compression.
1 Like