[
https://issues.apache.org/jira/browse/LUCENE-8749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810987#comment-16810987
]
Adrien Grand commented on LUCENE-8749:
--------------------------------------
I'm wondering whether customizing slices would actually be necessary if we had
a better default implementation of IndexSearcher#slices? For instance something
that would create slices of similar sizes?
> Proposal: Pluggable Interface for Slice Allocation Algorithm
> ------------------------------------------------------------
>
> Key: LUCENE-8749
> URL: https://issues.apache.org/jira/browse/LUCENE-8749
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/search
> Reporter: Atri Sharma
> Priority: Major
>
> The slice allocation method allocates one thread per segment today. If a user
> wishes to use a different slice allocation algorithm, there is no way except
> to make a change in IndexSearcher. This Jira proposes an interface to
> decouple the slice allocation mechanism from IndexSearcher and allow plugging
> in the method from an external factory (like Collectors).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]