【问题标题】:How to configure "search.max_open_scroll_context" on AWS Elasticsearch如何在 AWS Elasticsearch 上配置“search.max_open_scroll_context”
【发布时间】:2020-03-21 12:36:59
【问题描述】:

我正在使用 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-services elasticsearch


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:
       PUT _cluster/settings
      
        {
            "persistent" : {
                 "action.search.shard_count.limit" : "3500"
            }
        }
      

      工作正常。 我认为错误在于缺少引号

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-02-01
        • 2020-11-28
        • 2021-03-28
        • 1970-01-01
        • 2017-12-02
        • 1970-01-01
        • 1970-01-01
        • 2020-08-30
        相关资源
        最近更新 更多