Michael McCandless created LUCENE-8387:
------------------------------------------

             Summary: Add IndexSearcher.getSlices
                 Key: LUCENE-8387
                 URL: https://issues.apache.org/jira/browse/LUCENE-8387
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael McCandless
            Assignee: Michael McCandless


When you pass an executor to {{IndexSearcher}}, it creates a {{LeafSlice[]}} 
slices, by default once slice per leaf, but a subclass can override.  It's 
helpful to later be able to get those slices e.g. if you want to do your own 
concurrent per-slice processing.

This patch will just add a getter to {{IndexSearcher}}, and make the 
{{LeafSlice.leaves}} member public.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to