easyice opened a new pull request, #13312:
URL: https://github.com/apache/lucene/pull/13312

   `TopKnnCollectorManager#newCollector` will return `MultiLeafKnnCollector` 
instance if the index has multiple segments
   
   ```
   org.apache.lucene.search.TestKnnByteVectorQuery > 
testTimeLimitingKnnCollectorManager FAILED
       java.lang.AssertionError
           at 
__randomizedtesting.SeedInfo.seed([A0DCCB76BFBF940C:8E1E7418F5C62B46]:0)
           at org.junit.Assert.fail(Assert.java:87)
           at org.junit.Assert.assertTrue(Assert.java:42)
           at org.junit.Assert.assertTrue(Assert.java:53)
           at 
org.apache.lucene.search.BaseKnnVectorQueryTestCase.testTimeLimitingKnnCollectorManager(BaseKnnVectorQueryTestCase.java:787)
           at 
org.apache.lucene.search.TestKnnByteVectorQuery.testTimeLimitingKnnCollectorManager(TestKnnByteVectorQuery.java:30)
           at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
   ```
   
   ```
   gradlew test --tests 
TestKnnByteVectorQuery.testTimeLimitingKnnCollectorManager 
-Dtests.seed=A0DCCB76BFBF940C -Dtests.nightly=true
   ```


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to