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

21 lines
1.6 KiB
HTML

<a name="EN-US_TOPIC_0000001933318490"></a><a name="EN-US_TOPIC_0000001933318490"></a>
<h1 class="topictitle1">How Do I Set search.max_buckets for an Elasticsearch Cluster of CSS?</h1>
<div id="body0000001466951041"><div class="section" id="EN-US_TOPIC_0000001933318490__section2094311581849"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001933318490__p126823365912">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 <span class="parmname" id="EN-US_TOPIC_0000001933318490__parmname127837522216"><b>search.max_buckets</b></span>. Note that increasing the value of <span class="parmname" id="EN-US_TOPIC_0000001933318490__parmname857134532418"><b>search.max_buckets</b></span> also increases the cluster load and memory usage. Exercise caution when performing this operation.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001933318490__section657834014815"><h4 class="sectiontitle">Solution</h4><div class="p" id="EN-US_TOPIC_0000001933318490__p137491819606">Run the following command on the <span class="uicontrol" id="EN-US_TOPIC_0000001933318490__uicontrol466111139142"><b>Dev Tools</b></span> page of Kibana:<pre class="screen" id="EN-US_TOPIC_0000001933318490__screen64961341507">PUT _cluster/settings
{
"persistent": {
"search.max_buckets": 20000
}
}</pre>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0137.html">Managing CSS Clusters</a></div>
</div>
</div>