Open dbulaja98 opened 10 months ago
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.
Thank you Vanja, great job! 🚀
We should consider adjusting aggregations responses.
There are sometimes extra letters for
terms
and forpercentiles
aggregations in the elasticsearch response. Something like this happens:sterms#aggName