HUSTERGS opened a new pull request, #14976: URL: https://github.com/apache/lucene/pull/14976
### Description Since #14806 is reverted because it causes some test broken (sorry about that). This PR tries to fix it and re-raise the same logic. This [comment](https://github.com/apache/lucene/pull/14806#issuecomment-3095570822) explains why it causes problem. I think this might be helpful when some must not clauses implements its own `docIDRunEnd`, although currently there is no such task in luceneutil. I've test the specific failed test locally with command below: ``` ./gradlew -p lucene/core beast -Ptests.dups=500 --tests TestLRUQueryCache.testRandom ``` <!-- If this is your first contribution to Lucene, please make sure you have reviewed the contribution guide. https://github.com/apache/lucene/blob/main/CONTRIBUTING.md --> -- 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