Description
org.apache.lucene.search.TestSeededKnnFloatVectorQuery.testTimeout test failures demonstrate that when we early terminate (timeout) query execution, the optimistic strategy still tries to collect more hits, but fails because the timeout prevents it, and can then return 0 hits.
NOTE: reproduce with: gradlew test --tests TestSeededKnnFloatVectorQuery.testTimeout -Dtests.seed=FBB7AD01C7763E0 -Dtests.multiplier=3 -Dtests.nightly=true -Dtests.locale=dz-Tibt-BT -Dtests.timezone=Canada/Saskatchewan -Dtests.asserts=true -Dtests.file.encoding=UTF-8
Version and environment details
No response