You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2019/04/05 16:12:00 UTC

[jira] [Commented] (LUCENE-8749) Proposal: Pluggable Interface for Slice Allocation Algorithm

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org