首页 > 解决方案 > 如何增加 AWS 弹性搜索中的最大存储桶数?

问题描述

我正在使用 AWS elasticsearch,我想增加最大桶数,但以下查询不起作用

PUT _cluster/settings
{
  "persistent": {
    "search.max_buckets": 20000
  }
}

它显示响应为 {"Message":"Your request: '/_cluster/settings' payload is not allowed."}

提前致谢

标签: elasticsearchamazon-elastic-beanstalkelastic-stackamazon-elb

解决方案


你不能。

与大多数其他集群设置一样,您要更改的集群设置目前未由 Amazon Elasticsearch 公开。如果您的 Elastic 使用需要此或任何其他不属于以下之一的集群设置,那么您很不走运并且无法使用 Amazon Elasticsearch。

请注意,这是来自 7.x 文档;其他版本支持的操作可能会有所不同:

  • 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


推荐阅读