ChrisHegarty opened a new pull request, #14793: URL: https://github.com/apache/lucene/pull/14793
This commit fixes an intermittent failure of TestDoubleValuesSourceRescorer, where the test sometimes randomly selects too few documents to index leading to no matches in the search. Failure example: ``` org.apache.lucene.search.TestDoubleValuesSourceRescorer > test suite's output saved to /../lucene/core/build/test-results/test/outputs/OUTPUT-org.apache.lucene.search.TestDoubleValuesSourceRescorer.txt, copied below: > java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 > at __randomizedtesting.SeedInfo.seed([86E2E915B8727B0:A3943384845BA19E]:0) > at org.apache.lucene.search.TestDoubleValuesSourceRescorer.testBasic(TestDoubleValuesSourceRescorer.java:99) > at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) > at java.base/java.lang.reflect.Method.invoke(Method.java:580) ... ``` I think that bumping the number of docs to index should be sufficient, as I see no failures even after several hundreds of thousands runs. relates #14776 -- 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