From e3fe7f36011ca9ee825ecb33db2f6c2eaff6221a Mon Sep 17 00:00:00 2001 From: Jay Deng Date: Tue, 6 Feb 2024 16:56:13 -0800 Subject: [PATCH] Increase index_searcher thread count to 2x processor (#12196) Signed-off-by: Jay Deng --- server/src/main/java/org/opensearch/threadpool/ThreadPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/threadpool/ThreadPool.java b/server/src/main/java/org/opensearch/threadpool/ThreadPool.java index 176b8fe945a0d..6fad8d6c7824b 100644 --- a/server/src/main/java/org/opensearch/threadpool/ThreadPool.java +++ b/server/src/main/java/org/opensearch/threadpool/ThreadPool.java @@ -295,7 +295,7 @@ public ThreadPool( new AutoQueueAdjustingExecutorBuilder( settings, Names.INDEX_SEARCHER, - allocatedProcessors, + twiceAllocatedProcessors(allocatedProcessors), 1000, 1000, 1000,