OpenSearch/server
Igor Motov 88d50ec583
Fix random failures in InternalTopHitsTests#testReduceRandom (#53832)
The test was randomly and very rarely failing due to generating the same sort
key for multiple records, which was making order of these records in the results
nondeterministic. While investigating the test I also found that the data wasn't
generated in the way that matches the actual data. Normally, the order of
documents in hits and scoreDocs in InternalTopHits should be the same. However,
in the test only scoreDocs were sorted which was cause very confusing failure
messages. This commit fixes this issue as well.

Fixes #53676
2020-03-20 13:35:59 -04:00
..
licenses Upgrade to final lucene 8.5.0 snapshot (#53293) 2020-03-10 09:32:59 +00:00
src Fix random failures in InternalTopHitsTests#testReduceRandom (#53832) 2020-03-20 13:35:59 -04:00
build.gradle Improve IntelliJ IDE integration (#53747) 2020-03-19 11:43:33 -07:00