-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[v5] UpdateResponse doesn't match the actual response json from elasticsearch. #541
Comments
Yes, that structure changed recently. I will change it to reflect the current version. Thanks. |
The returned structures for Update and Delete in ES 5.4.1 are actually:
I will fix that in 5.0.41. |
Ref: e3b7c0 |
Can you please detail why the If we represent the |
@claudiuolteanu It's clearly wrong for Thanks for addressing this. Maybe you can write a PR? Tracked in #599 |
Can you please take a look at #600 ? thanks |
@claudiuolteanu I already did. However, I need to find some time first. I hope to work on Elastic this weekend, and include some of the outstanding PRs. |
Ok, thanks. If I can help you with something, please let me know. Have a nice week |
Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[X] elastic.v5 (for Elasticsearch 5.x)
Please describe the expected behavior
UpdateResponse struct should match the response from Elasticsearch v5.4, but it doesn't now.
UpdateResponse definition from update.go:
Actual response from Elasticsearch v5.4
Please describe the actual behavior
UpdateResponse struct should look like:
Any steps to reproduce the behavior?
N/A.
The text was updated successfully, but these errors were encountered: