mirror of https://github.com/apache/lucene.git
LUCENE-10382: Fix testSearchWithVisitedLimit failures
This commit is contained in:
parent
7ec89603e3
commit
d9c2e46824
|
@ -833,8 +833,8 @@ public abstract class BaseKnnVectorsFormatTestCase extends BaseIndexFileFormatTe
|
|||
String fieldName = "field";
|
||||
try (Directory dir = newDirectory();
|
||||
IndexWriter iw = new IndexWriter(dir, iwc)) {
|
||||
int numDoc = atLeast(300);
|
||||
int dimension = atLeast(10);
|
||||
int numDoc = 300;
|
||||
int dimension = 10;
|
||||
for (int i = 0; i < numDoc; i++) {
|
||||
float[] value;
|
||||
if (random().nextInt(7) != 3) {
|
||||
|
|
Loading…
Reference in New Issue