Я делаю массовую вставку с большими объектами данных.Поэтому я хочу сжать объекты json перед отправкой в ES для индексации.
Итак, с https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html, Я могу включить сжатие ES, используя
from elasticsearch import Elasticsearch es = Elasticsearch(hosts, http_compress=True)
Но с https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html, есть
http.compression Support for compression when possible (with Accept-Encoding). Defaults to true.
DoМне нужно включить http.compression?Или это необязательно?
http.compression