benwtrent commented on issue #14517:
URL: https://github.com/apache/lucene/issues/14517#issuecomment-2816145174

   I think maybe this is possible with this competitiveIterator if we move from 
dense to sparse, but in such a way that its min document is past the NEW min 
document in the new window.
   
   Then it would never get advanced, and the docsWithField check would ever get 
iterated. But this lazy initialization, and switching from dense to sparse, all 
seems really tricky.
   
   To cover this weird case (if its even possible), I added an extra advance 
for `docsWithField` in the `intoBitSet` function. 


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

Reply via email to