Can I use gzip or some other compression algorithms when I create snapshots to HDFS?

Unfortunately, I think this is just a confusing coincidence. The size of an Elasticsearch index may be much smaller or much larger than the size of the source data, depending on how it is indexed.