Skip to content

[Backport master] Fix deserialisation of aggs in Translate response #5232

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

Merged
merged 2 commits into from
Jan 7, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 5, 2021

Backport 1500cf4 from #5228

The Translate API in elasticsearch returns aggregations using the key
"aggregations" rather than "aggs". This results in aggregations not
appearing in the SearchRequest instance.

This fix adds a field so that aggregations deserialise correctly using
UTF8Json.
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@stevejgordon stevejgordon merged commit 72f8ffd into master Jan 7, 2021
@stevejgordon stevejgordon deleted the backport-5228-to-master branch January 7, 2021 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants