Field compression question


I have an index with 3 fields, one long not_analysed, and 2 string not indexed. One of these strings contains big xml documents. The another string is the name of its encoding.

The xml document comes compressed with gzip from another webservice. Now I'm converting this compressed xml to a Base64 string before indexing the json into elasticsearch.

With these conditions, is it worth to disable compression on this index to avoid ES compressing something that is already compressed? If so, is this possible? (I see that now compression enabled is set by default but I don't see any way to disable it at index level).


I don't think you can disable compression at all as of 2.X.