doc-exports/docs/css/umn/css_02_0125.html
Zheng, Xiu 5b5876528a CSS UMN 22.5.1 Version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com>
Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
2023-03-29 17:17:49 +00:00

26 lines
1.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="css_02_0125"></a><a name="css_02_0125"></a>
<h1 class="topictitle1">How Do I Set the Default Maximum Number of Records Displayed on a Page for an Elasticsearch Cluster</h1>
<div id="body0000001475272121"><div class="section" id="css_02_0125__section1036514129449"><h4 class="sectiontitle">Solution</h4><ul id="css_02_0125__ul988111322518"><li id="css_02_0125__li1089161312256">Method 1<p id="css_02_0125__p3641146448"><a name="css_02_0125__li1089161312256"></a><a name="li1089161312256"></a>Open Kibana and run the following commands on the <strong id="css_02_0125__b8754104152">Dev Tools</strong> page:</p>
<pre class="screen" id="css_02_0125__screen161933218442">PUT _all/_settings?preserve_existing=true
{
"index.max_result_window" : "10000000"
}</pre>
</li><li id="css_02_0125__li1045391592510">Method 2<p id="css_02_0125__p724916521585"><a name="css_02_0125__li1045391592510"></a><a name="li1045391592510"></a>Run the following commands in the background:</p>
<pre class="screen" id="css_02_0125__screen105772714417">curl XPUT 'http://localhost:9200/_all/_setting?preserve_existing=true'-d
{
"index.max_result_window":"1000000"
}</pre>
</li></ul>
</div>
<div class="caution" id="css_02_0125__note1865515379449"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="css_02_0125__p1365533794415">This configuration consumes memory and CPU resources. Exercise caution when setting this parameter.</p>
</div></div>
<p id="css_02_0125__p8060118"></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0066.html">Resource Usage and Change</a></div>
</div>
</div>