Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Cloud Search Service/ FAQs/ Using CSS Cluster Search Engines/ How Do I Change the Maximum Number of Results Returned for Searches to an Index in an Elasticsearch Cluster of CSS?

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

Updated on 2024-12-02 GMT+08:00

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.

CAUTION:

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

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback