forked from docs/doc-exports
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>
14 lines
1.2 KiB
HTML
14 lines
1.2 KiB
HTML
<a name="css_02_0118"></a><a name="css_02_0118"></a>
|
|
|
|
<h1 class="topictitle1">How Do I Set the Numbers of Index Copies to 0 in Batches?</h1>
|
|
<div id="body0000001231185475"><ol id="css_02_0118__ol34749221585"><li id="css_02_0118__li144741822584">Log in to the Kibana page of the cluster. In the navigation pane, choose <strong id="css_02_0118__b12701124171218">Dev Tools</strong>.</li><li id="css_02_0118__li141294915100">Modify and run the <b><span class="cmdname" id="css_02_0118__cmdname916519311125">PUT /*/_settings{"number_of_replicas":0}</span></b> command.<div class="note" id="css_02_0118__note171561541111220"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_02_0118__p121581641111213">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: <b><span class="cmdname" id="css_02_0118__cmdname0783728152">PUT /test*/_settings{"number_of_replicas":0}</span></b></p>
|
|
</div></div>
|
|
</li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0055.html">Functions</a></div>
|
|
</div>
|
|
</div>
|
|
|