mirror of https://github.com/apache/lucene.git
Fix more vector similarity query tests (#13530)
This commit is contained in:
parent
44ad4d95c6
commit
19fe1a56f7
|
@ -131,6 +131,7 @@ abstract class BaseVectorSimilarityQueryTestCase<
|
|||
try (Directory indexStore = getIndexStore(getRandomVectors(numDocs, dim));
|
||||
IndexReader reader = DirectoryReader.open(indexStore)) {
|
||||
IndexSearcher searcher = newSearcher(reader);
|
||||
assumeTrue("graph is disconnected", HnswTestUtil.graphIsConnected(reader, vectorField));
|
||||
|
||||
// All vectors are above -Infinity
|
||||
Query query1 =
|
||||
|
|
Loading…
Reference in New Issue