You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The
RestClientBuilder
classorg.elasticsearch.client.RestClientBuilder
has already an propertycompressionEnabled
that enabled compressed gzip requests to Elastic.The
RestClients
classorg.springframework.data.elasticsearch.client.RestClients
has method called 'create' that acceptClientConfiguration
object and put it into newRestClientBuilder
class.In order to use compression in request we need the agility to pass into the
ClientConfiguration
object the property ofcompressionEnabled
.The text was updated successfully, but these errors were encountered: