Skip to content

Commit 7c1576a

Browse files
Move can-match thread from transport thread to search coordinator thread
1 parent 66d9241 commit 7c1576a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/action/search/SearchTransportService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public static void registerRequestHandler(TransportService transportService, Sea
439439

440440
transportService.registerRequestHandler(
441441
QUERY_ACTION_NAME,
442-
EsExecutors.DIRECT_EXECUTOR_SERVICE,
442+
transportService.getThreadPool().executor(ThreadPool.Names.SEARCH_COORDINATION),
443443
ShardSearchRequest::new,
444444
(request, channel, task) -> searchService.executeQueryPhase(
445445
request,

0 commit comments

Comments
 (0)