I would like to find out the estimate size of each document in my index. I use "GET /_nodes/stats" to list the "merges" section which has the following 2 numbers I am interested in.
The I calculate size of each doc roughly using this formular: total_size_in_bytes / total_docs
But the number is too small to me.
I searched around and found this article about LZ4 compression used for documents.
My questions are
- Is LZ4 document compression algorithm used by default for each document ? I am using 5.2.1.
- If so, what is exactly ratio number ? I goolged around and I got a rough number which is 64 on the best.