Files
doc-exports/docs/css/umn/css_02_0102.html
zhengxiu 93d856d5c5 css umn 25.6.0 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: zhengxiu <zhengxiu@huawei.com>
Co-committed-by: zhengxiu <zhengxiu@huawei.com>
2025-11-25 11:34:43 +00:00

1.6 KiB

How Do I Set search.max_buckets for an Elasticsearch Cluster of CSS?

Function

By default, CSS allows a maximum of 10,000 buckets to be returned during aggregation. If more than 10,000 buckets need to be returned, you can increase the value of search.max_buckets. Note that increasing the value of search.max_buckets also increases the cluster load and memory usage. Exercise caution when performing this operation.

Solution

Run the following command on the Dev Tools page of Kibana:
PUT _cluster/settings
{
    "persistent": {
        "search.max_buckets": 20000
    }
}