Asynchronous Search settings
异步搜索插件为标准 OpenSearch 集群设置添加了多个设置。它们是动态的,因此您无需重启集群即可更改插件的默认行为。要了解有关静态和动态设置的更多信息,请参阅配置 OpenSearch。
您可以将设置标记为 persistent
(持久)或 transient
(临时)。
例如,要更新结果索引的保留期
PUT _cluster/settings
{
"transient": {
"plugins.asynchronous_search.max_wait_for_completion_timeout": "5m"
}
}
设置 | 默认值 | 描述 |
---|---|---|
plugins.asynchronous_search.max_search_running_time | 12 小时 | 搜索的最大运行时间,超过此时间搜索将被终止。 |
plugins.asynchronous_search.node_concurrent_running_searches | 20 | 每个协调器节点上并发运行的搜索数。 |
plugins.asynchronous_search.max_keep_alive | 5 天 | 搜索结果可在集群中存储的最长时间。 |
plugins.asynchronous_search.max_wait_for_completion_timeout | 1 分钟 | wait_for_completion_timeout 参数的最大值。 |
plugins.asynchronous_search.persist_search_failures | false | 在系统索引中持久化以搜索失败结束的异步搜索结果。 |