cpoerschke commented on code in PR #13635:
URL: https://github.com/apache/lucene/pull/13635#discussion_r1778399477
##########
lucene/core/src/test/org/apache/lucene/search/BaseKnnVectorQueryTestCase.java:
##########
@@ -608,6 +614,94 @@ public void testRandomWithFilter() throws IOException {
}
}
+ /** Tests with random vectors and a random seed. Uses RandomIndexWriter. */
+ public void testRandomWithSeed() throws IOException {
+ int numDocs = 1000;
+ int dimension = atLeast(5);
+ int numIters = atLeast(10);
+ try (Directory d = newDirectory()) {
Review Comment:
```suggestion
try (Directory d = newDirectoryForTest()) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]