kkewwei commented on PR #16952:
URL: https://github.com/apache/lucene/pull/16952#issuecomment-7254000909

   @epotyom Thanks for the review. 
   
   As far as I am aware, the fast path in `DefaultBulkScorer.scoreAll()`—which 
relied on the condition `min == 0 && max == NO_MORE_DOCS`—was removed in 
#14039. I haven't found any other places that still depend on this path.
   
   
https://github.com/apache/lucene/pull/14039/changes#diff-b54a9957e946b24c8dddbf24c56340041033d463a950e72ed1ae3fd81b3c1d29L257
   
   If there are any other paths yet to be discovered, we can also quickly 
adjust `NO_MORE_DOCS`->maxDocId.
   
   Based on this, I think it's safe to do the change.


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