easyice commented on PR #13069:
URL: https://github.com/apache/lucene/pull/13069#issuecomment-1931077803
This will also fix test failure for
TestReqOptSumScorer.testFilterRandomFrequentOpt
```
./gradlew test --tests TestReqOptSumScorer.testFilterRandomFrequentOpt
-Dtests.seed=70A6B2258BEC1D96 -Dtests.nightly=true -Dtests.locale=mni-Beng-IN
-Dtests.timezone=America/Indianapolis -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
```
```
org.apache.lucene.search.TestReqOptSumScorer > testFilterRandomFrequentOpt
FAILED
java.lang.NullPointerException: Cannot invoke
"org.apache.lucene.search.Scorer.twoPhaseIterator()" because "s2" is null
at
__randomizedtesting.SeedInfo.seed([70A6B2258BEC1D96:94B3EF7331EC2DC4]:0)
at
org.apache.lucene.tests.search.CheckHits.doCheckMaxScores(CheckHits.java:737)
at
org.apache.lucene.tests.search.CheckHits.checkTopScores(CheckHits.java:698)
at
org.apache.lucene.search.TestReqOptSumScorer.doTestRandom(TestReqOptSumScorer.java:379)
at
org.apache.lucene.search.TestReqOptSumScorer.testFilterRandomFrequentOpt(TestReqOptSumScorer.java:263)
```
--
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]