Elastic search bulk size with gzip


I'm using node js elasticsearch library to bulk insert items. I've read in the docs that the recommended bulk size to start from to test performance is 5MB-15MB. But what if I set a header Content-Encoding: gzip, deflate when making the insert? Does it mean in this case 5MB-15MB compressed, or is compression irrelevant here? Thanks.

(Jason Tedor) #2

That recommendation refers to the uncompressed size.

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.