kaivalnp opened a new pull request, #951:
URL: https://github.com/apache/lucene/pull/951

   ### Description
   
   Link to [Jira](https://issues.apache.org/jira/browse/LUCENE-10606)
   
   ### Solution
   
   Instead of collecting hit-by-hit using a `LeafCollector`, we break down the 
search by instantiating a weight, creating scorers, and checking the underlying 
iterator. If it is backed by a `BitSet`, we directly update the reference (as 
we won't be editing the `Bits`). Else we can create a new `BitSet` from the 
iterator using `BitSet.of`


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