[ 
https://issues.apache.org/jira/browse/LUCENE-8865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16868487#comment-16868487
 ] 

ASF subversion and git services commented on LUCENE-8865:
---------------------------------------------------------

Commit 741207da14607969620923e2f77d64bd811fd350 in lucene-solr's branch 
refs/heads/branch_8x from Simon Willnauer
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=741207d ]

LUCENE-8865: Move to executor in IndexSearcher (#731)

In order to simplify testing this change moves to use the Executor
interface instead of ExecutorService. This change also simplifies
customizing execute methods for use-cases that need to add additional
logic for forking to new threads. This change also adds a test for
the optimization added in LUCENE-8865.

This change is fully backwards compatible since ExecutorService implements
Executor.

>  Use incoming thread for execution if IndexSearcher has an executor
> -------------------------------------------------------------------
>
>                 Key: LUCENE-8865
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8865
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Simon Willnauer
>            Priority: Major
>             Fix For: master (9.0), 8.2
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> Today we don't utilize the incoming thread for a search when IndexSearcher
>     has an executor. This thread is only idleing but can be used to execute a 
> search
>     once all other collectors are dispatched.



--
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