Skip to content
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

Extra letters in aggregations responses #365

Open
dbulaja98 opened this issue Nov 14, 2023 · 3 comments
Open

Extra letters in aggregations responses #365

dbulaja98 opened this issue Nov 14, 2023 · 3 comments

Comments

@dbulaja98
Copy link
Collaborator

There are sometimes extra letters for terms and for percentiles aggregations in the elasticsearch response.
Something like this happens:
sterms#aggName

@dbulaja98 dbulaja98 changed the title Extra letters in aggregations responses. Extra letters in aggregations responses Nov 14, 2023
@vanjaftn
Copy link
Contributor

I did some research on Percentiles and Terms. It appears that there is no error, but rather the Percentiles and Percentile Ranks have a keyed parameter. The choice between tdigest_percentiles and hdr_percentiles as a response depends on this parameter. Since we didn't use the keyed parameter, it defaults to tdigest. Therefore it has those extra letters in response.

As for Terms, it seems that it can accept both integers and strings, and when it receives a string, its response is referred to as sterms. The message "Result of the TermsAggregator when the field is a String" is mentioned for string_terms.

@dbulaja98
Copy link
Collaborator Author

dbulaja98 commented Nov 30, 2023

Thank you Vanja, great job! 🚀

@dbulaja98
Copy link
Collaborator Author

We should consider adjusting aggregations responses.

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

No branches or pull requests

2 participants