New topk Implementation

Tola Ore-AruwajiDeveloper Relations Engineer
May 31, 2022
Changelog Screenshot

We worked on and deployed a new topk implementation with a scaling factor. With this implementation, you can get the precise estimates when you want to know the top 5 or top 10 (where ‘5’ and ’10’ are ‘k’ in the topk) values for a field in a dataset.

The topK aggregation takes two arguments:

  1. The field to aggregate
  2. How many results to return (top 5, or top 10, or top 20, etc)

Learn more about this aggregation here


Interested to learn more about Axiom?

Sign up for free or contact us at sales@axiom.co to talk with one of the team about our enterprise plans.