Help Center/ Cloud Search Service/ User Guide (Paris and Amsterdam Regions)/ FAQs/ Resource Usage and Change/ Can I Change the Number of Shards to Four with Two Replicas When There Is One Shard Set in the JSON File?
Updated on 2023-06-20 GMT+08:00
Can I Change the Number of Shards to Four with Two Replicas When There Is One Shard Set in the JSON File?
Once an index is created, the number of primary shards cannot be changed.
You can run the following command in Kibana to change the number of replicas:
PUT /indexname/_settings
{
"number_of_replicas":1 //Number of replicas
}
index specifies the index name. Set this parameter based on site requirements.
Parent topic: Resource Usage and Change
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot