首页 > 解决方案 > 如何在 AWS Elasticsearch 上配置“search.max_open_scroll_context”

问题描述

我正在使用 aws Elasticsearch(版本:7.1),我想将 search.max_open_scroll_context 配置为更大。我的 es 没有任何身份验证,并且像 /_cluster/state 这样的另一个请求是可以的。但是当我这样做时,我得到了这个:

curl -X PUT xx.xx.com/_cluster/settings -H 'Content-Type: application/json' -d'{
    "persistent" : {
        "search.max_open_scroll_context": 5000
    },
    "transient": {
        "search.max_open_scroll_context": 5000
    }
}
'
{"Message":"Your request: '/_cluster/settings' payload is not allowed."}

我看到他们的文档说他们的 es 7.1 只支持这些:https ://docs.aws.amazon.com/zh_cn/elasticsearch-service/latest/developerguide/aes-supported-es-operations.html

/_cluster/settings for several properties4:

action.auto_create_index

action.search.shard_count.limit

indices.breaker.fielddata.limit

indices.breaker.request.limit

indices.breaker.total.limit

cluster.max_shards_per_node

cluster.blocks.read_only

但我没有找到 search.max_open_scroll_context,如何在 AWS Elasticsearch 上配置“search.max_open_scroll_context”。

标签: amazon-web-serviceselasticsearch

解决方案


为此,您需要联系 AWS Support 团队。只需让他们知道您正在寻找的“search.max_open_scroll_context”的值,他们就会从后端更新它。


推荐阅读