Help Center/ Cloud Search Service/ User Guide (Kuala Lumpur Region)/ FAQs/ Functions/ How Do I Set the Numbers of Index Copies to 0 in Batches?
Updated on 2023-06-20 GMT+08:00

How Do I Set the Numbers of Index Copies to 0 in Batches?

  1. Log in to the Kibana page of the cluster. In the navigation pane, choose Dev Tools.
  2. Modify and run the PUT /*/_settings{"number_of_replicas":0} command.

    Do not directly run the preceding command, because the asterisk (*) may match security indexes. You are advised to specify the index required for the batch operation. Example: PUT /test*/_settings{"number_of_replicas":0}