Different results for same query

The sequence in which the same set of documents are provided to the percentiles aggregation can lead to minor variations in results.
The insertion sequence can be affected by:

  1. Primary and replica shards having different physical arrangements of content on disk (Lucene merge operations are non-deterministic)
  2. The sequence of merging results from multiple shards (again, a non-deterministic order)
1 Like