-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do we support CBOR format communicating #132
Comments
Hello, I don't think any of the official libraries support CBOR. There's no built-support for CBOR in go-elasticsearch, but since the body is passed as an If you're after faster JSON encoding, have a look into examples in https://github.com/elastic/go-elasticsearch/tree/master/_examples/encoding. |
hi @karmi , I've tried with original non-modified this library. it doesn't work, since we just combined all the values of a same-key-header. I'm considering a PR to fix it, and based on two reasons,
|
Agreed, I think these lines should be wrapped in a condition like go-elasticsearch/esapi/api.search.go Lines 315 to 317 in aff00e5
What if you play with it eg. with the Search (etc) API, and I can later update the generator. |
hi guys,
I just noticed https://github.com/elastic/go-elasticsearch/blob/v6.8.5/esapi/api.search.go#L316, seems all the data format we could support is json.
and from the official document https://www.elastic.co/guide/en/elasticsearch/reference/6.8/common-options.html#_content_type_requirements. I got a little confused, will we support the data format other than json in this library.
The text was updated successfully, but these errors were encountered: