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

   There's a couple of places in the codebase where we extend IndexSearcher to 
customize per leaf behaviour, and in order to do that, we need to override the 
entire search method that loops through the leaves. A good example is 
ScorerIndexSearcher.
   
   Adding a searchLeaf method that provides the per leaf behaviour makes those 
cases a little easier to deal with. Also, it paves the road for #13542 where we 
will want to replace search(List<LeafReaderContext>, Weight, Collector) with 
something along the lines of search(LeafReaderContextPartition[], Weight, 
Collector).
   


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