Config thread pool search

Versions : 2.13.0

Describe the issue:
Hello, I would like to config thread pool search
I found these by running querying the default settings:

GET _cluster/settings?include_defaults

“search”: { “max_queue_size”: “1000”, “queue_size”: “1000”, “size”: “7”, “auto_queue_frame_size”: “2000”, “target_response_time”: “1s”, “min_queue_size”: “1000” },

Configuration:
In ElasticSearch, we can update thread pool size using property in elasticsearch.yml
threadpool.search.size

Please let me know how I can update this property

Same to elasticsearch, you can also config the setting in the yml file, that is opensearch.yml.

Thanks, I’ll try that.
Also, do we have the property “thread_pool.search_coordination.size” in opensearch.yml?

No, OpenSearch doesn’t have this setting because we don’t have a search_coordination thread_pool.

1 Like

Last question, even the same functions with that?
Thank you for answering me

No, OpenSearch doesn’t have similar function with that, you can check all supported thread_pool by calling

GET _cat/thread_pool
1 Like