You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2018/07/16 16:31:00 UTC

[jira] [Resolved] (LUCENE-8387) Add IndexSearcher.getSlices

     [ https://issues.apache.org/jira/browse/LUCENE-8387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-8387.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 7.5
                   master (8.0)

> 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
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>         Attachments: LUCENE-8387.patch, LUCENE-8387.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org