Elasticsearch storage optimization