Skip to content

Allow serializing aggregations without typed keys #316

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
Jun 22, 2022

Conversation

swallez
Copy link
Member

@swallez swallez commented Jun 16, 2022

Fixes #306

Adds a feature in JsonpMapper that allows serializing aggregation and suggestion results using only names as keys and not typed keys (type#name), which is what the Java client needs to correctly deserialize these data structures.

This is useful when the Java API client is used as a search front-end to ES and results are serialized back to application clients, who may not expect nor understand the type#name format.

@swallez swallez force-pushed the serialize-without-typed-keys branch from c89136a to 7931fca Compare June 22, 2022 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow serializing aggregation results without typed-keys prefix
1 participant