elasticsearch/server
Mayya Sharipova 2ec1f6b4c4
Fix testIndexhasDuplicateData tests (#49786)
testIndexHasDuplicateData tests were failing ocassionally,
due to approximate calculation of BKDReader.estimatePointCount,
where if the node is Leaf, the number of points in it
was (maxPointsInLeafNode + 1) / 2.
As DEFAULT_MAX_POINTS_IN_LEAF_NODE = 1024, for small indexes
used in tests, the estimation could be really off.

This rewrites tests, to make the  max points in leaf node to
be a small value to control the tests.

Closes #49703
2020-03-19 13:09:50 -04:00
..
licenses Upgrade to final lucene 8.5.0 snapshot (#53293) 2020-03-10 09:30:37 +00:00
src Fix testIndexhasDuplicateData tests (#49786) 2020-03-19 13:09:50 -04:00
build.gradle Upgrade to lucene-8.5.0-snapshot-3333ce7da6d (#51327) 2020-01-30 10:08:48 -05:00