You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/08/17 23:11:59 UTC

[lucene-solr] 29/49: @543 Have to use the root exec here.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 621eb6c4719d1ce0444d859d1780d374e9600081
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Fri Aug 14 13:12:10 2020 -0500

    @543 Have to use the root exec here.
---
 .../org/apache/solr/handler/component/HttpShardHandlerFactory.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java b/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
index 34d702f..5d096c5 100644
--- a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
+++ b/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
@@ -471,8 +471,7 @@ public class HttpShardHandlerFactory extends ShardHandlerFactory implements org.
    * Creates a new completion service for use by a single set of distributed requests.
    */
   public CompletionService newCompletionService() {
-    return new SolrExecutorCompletionService<ShardResponse>(
-        (ParWorkExecService) ParWork.getExecutor());
+    return new ExecutorCompletionService(ParWork.getEXEC());
   } // ### expert usage