iprithv commented on PR #16069:
URL: https://github.com/apache/lucene/pull/16069#issuecomment-4622651182

   @mikemccand @romseygeek I took a look as well and was able to reproduce the 
issue. It does appear to be caused by this change.
   problem is during the catch-up loop, `top.doc` went past `max` when 
`filter.doc >= max`. 
   adding a guard after the catch-up loop would solve this I believe.
   If you haven't already opened a fix, I can put together a PR with the guard.


-- 
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]

Reply via email to