Files
doc-exports/docs/css/umn/css_02_0125.html
zhengxiu 2125539080 css umn 25.1.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-07-04 09:10:17 +00:00

1.9 KiB
Raw Blame History

How Do I Change the Maximum Number of Results Returned for Searches to an Index in an Elasticsearch Cluster of CSS?

Solution

  • Method 1

    Open Kibana and run the following commands on the DevTools page:

    PUT _all/_settings?preserve_existing=true
    {
    "index.max_result_window" : "10000000"
    }
  • Method 2

    Run the following command on a server (a non-security mode cluster is used as an example here):

    curl -k XPUT 'http://localhost:9200/_all/_setting?preserve_existing=true'-d
    {
    "index.max_result_window":"1000000"
    }

    localhost indicates the address of the Elasticsearch cluster.

This configuration consumes memory and CPU resources. Exercise caution when setting this parameter.