Closed
Description
The RestClientBuilder
class
org.elasticsearch.client.RestClientBuilder
has already an property compressionEnabled
that enabled compressed gzip requests to Elastic.
The RestClients
class
org.springframework.data.elasticsearch.client.RestClients
has method called 'create' that accept ClientConfiguration
object and put it into new RestClientBuilder
class.
In order to use compression in request we need the agility to pass into the ClientConfiguration
object the property of compressionEnabled
.