File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
server/src/test/java/org/elasticsearch/index/codec/vectors/cluster Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ public void testComputeNeighbours() throws IOException {
162162 assertEquals (neighborHoodsBruteForce [i ].neighbors ().length , neighborHoodsGraph [i ].neighbors ().length );
163163 int matched = compareNN (i , neighborHoodsBruteForce [i ].neighbors (), neighborHoodsGraph [i ].neighbors ());
164164 double recall = (double ) matched / neighborHoodsGraph [i ].neighbors ().length ;
165- assertThat (recall , greaterThan (0.6 ));
165+ assertThat (recall , greaterThan (0.4 ));
166166 if (recall == 1.0 ) {
167167 // we cannot assert on array equality as there can be small differences due to numerical errors
168168 assertEquals (neighborHoodsBruteForce [i ].maxIntraDistance (), neighborHoodsGraph [i ].maxIntraDistance (), 1e-5f );
You can’t perform that action at this time.
0 commit comments