0
votes

Does JEST Java client lib for elasticsearch support gzip (compression) for huge bulk operations? I'm uploading thousands of documents in one go.

1

1 Answers

1
votes

Yes, you need to do two things:

  1. set http.compression: true in your elasticsearch.yml configuration file and restart ES

  2. call setRequestCompressionEnabled(true) on your Jest client.