Does extended_stats aggregation return appoximate value or exact value?

as term aggregation count is appoximate, is extended_stats query also return approximate value? or does it guarantee exact value?

ExtendedStats (and all the other "simple" metrics like min/max/stats, etc) are all exact. The only approximate aggs are:

  • Terms (due to the top-n nature of the algorithm)
  • Cardinality (due to HyperLogLog algorithm)
  • Percentiles / Percentile Ranks (due to TDigest or HDRHisto algorithm)
  • Median Absolute Deviation (due to using TDigest internally)

I believe every other agg will return exact results.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.