I used the cat api to get information about our indices : GET http://localhost:9200/_cat/indices?v.
We change our mapping and this impacts the indices store sizes and i try to figure the size increases.
I am not sure to understand the output precisely.
Provided size are size of data or size on disk ?
Primary store size is the mean size of one primary or the size of all primaries ?
I guess that primary store size is the size of all primaries and the store size should be equal to : (1+nb of replica)*(primary store size) is it right ?
But in fact this is not the case, store size is almost equal to (1+nb of replica)*(primary store size) but not exactly.
Last point to evaluate the mean size of one document, is it possible to compute : (primary store size)/(number of doc+number of deleted docs) ?
I understood that deleted docs are still in the indices but no more accessible.
Thanks for any helps.