I have an ElasticSearch database that has a large number of records. My data has a numeric score and label. I am aggregating the median and quartiles of the score field for a specific label. For example, what is the median score of all documents with the label foo.
Does anyone know if it's possible to base those percentile aggregations on a statistically significant sample of the data, instead of the full set, in order to speed up the aggregation query?
Thanks!