Skip to content

Conversation

@swallez
Copy link
Contributor

@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

2 participants