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/05 21:44:00 UTC
[jira] [Created] (LUCENE-8387) Add IndexSearcher.getSlices
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org