GET /<index>/_count
gives me the total number of documents in an index.
GET /_cat/indices/<index>
gives me both total documents, store.size and pri.store.size.
Say if I have an index with 1 primary and 1 replica.
say my store.size is 600gb, pri.store.size is 300gb. and total number of documents is 9000.
If I am trying to get an estimation of number of documents to storage in my cluster.
Should I consider 9000/300 as the average document size or 9000/600 as the average document size.
I am guessing it should be the pri.store.size. But I would like to get a confirmation.
Thanks in advance.