diff --git a/docs/reference/cat/thread_pool.asciidoc b/docs/reference/cat/thread_pool.asciidoc index bfc5ca415c3..63c4a3939e7 100644 --- a/docs/reference/cat/thread_pool.asciidoc +++ b/docs/reference/cat/thread_pool.asciidoc @@ -14,6 +14,7 @@ Which looks like: [source,txt] -------------------------------------------------- +node-0 analyze 0 0 0 node-0 bulk 0 0 0 node-0 fetch_shard_started 0 0 0 node-0 fetch_shard_store 0 0 0 @@ -43,6 +44,7 @@ The second column is the thread pool name [source,txt] -------------------------------------------------- name +analyze bulk fetch_shard_started fetch_shard_store diff --git a/docs/reference/modules/threadpool.asciidoc b/docs/reference/modules/threadpool.asciidoc index 984bef0a3cc..fa8522ea1cb 100644 --- a/docs/reference/modules/threadpool.asciidoc +++ b/docs/reference/modules/threadpool.asciidoc @@ -30,6 +30,9 @@ There are several thread pools, but the important ones include: with a size of `# of available processors`, queue_size of `1000`. +`analyze`:: + For analyze requests. Thread pool type is `fixed` with a size of 1, queue size of 16. + `bulk`:: For bulk operations. Thread pool type is `fixed` with a size of `# of available processors`, diff --git a/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/TransportAnalyzeAction.java b/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/TransportAnalyzeAction.java index 9b82bb85aae..35f1f725b65 100644 --- a/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/TransportAnalyzeAction.java +++ b/server/src/main/java/org/elasticsearch/action/admin/indices/analyze/TransportAnalyzeAction.java @@ -85,7 +85,7 @@ public class TransportAnalyzeAction extends TransportSingleShardAction