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

   Currently scorers are always cache using a dense representation, using 
either RoaringBitSets or FixedBitSets. This feels very inefficient for scorers 
that can be represented in a sparse way, like dense ranges. T
   
   This PR proposes to allow for scorer specialisations by moving the current 
code to materialize the scorer to the BulkScorer base class  under the method 
#intoCacheAndCount(int maxDoc). This method can be overriden by subclasses, for 
example RangeBulkScorer can represent itself in a sparse way saving a good 
bunch of heap.


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