[DOCS] Replace irregular whitespaces in docs (#128199)

* Replace irregular whitespaces

* More chars
This commit is contained in:
Fabrizio Ferri-Benedetti 2025-05-20 16:20:22 +02:00 committed by GitHub
parent a2b4a6f246
commit d10ef76ba3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 86 additions and 86 deletions

View file

@ -1,6 +1,6 @@
There are many different algorithms to calculate percentiles. The naive implementation simply stores all the values in a sorted array. To find the 50th percentile, you simply find the value that is at `my_array[count(my_array) * 0.5]`.
Clearly, the naive implementation does not scale — the sorted array grows linearly with the number of values in your dataset. To calculate percentiles across potentially billions of values in an Elasticsearch cluster, *approximate* percentiles are calculated.
Clearly, the naive implementation does not scalethe sorted array grows linearly with the number of values in your dataset. To calculate percentiles across potentially billions of values in an Elasticsearch cluster, *approximate* percentiles are calculated.
The algorithm used by the `percentile` metric is called TDigest (introduced by Ted Dunning in [Computing Accurate Quantiles using T-Digests](https://github.com/tdunning/t-digest/blob/master/docs/t-digest-paper/histo.pdf)).