Hi,
I need some help to use the olivere elasticsearch client to make a
compressed http connection to our elasticsearch.
I have tried it with:
hc := &http.Client{
Transport: &http.Transport{
DisableCompression: false,
},
}
and set: elastic.NewClient(elastic.SetHttpClient(hc))
but it do not use a compression. How do I enable the compression for a
connection in the client?
Is there an other way to use compression?
Thanks for your help.
best regards
Torsten
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.