Is It Necessary To Specify the Number of Shards When Creating an Index in an OpenSearch Serverless Collection?

0

Is it necessary, or even permitted, to specify the number of shards when creating an index in an OpenSearch Serverless Collection? The documentation says that index and shard lifecycle is managed by Amazon, but it's not clear if this extends to deciding how many shards there should be.

已提問 1 年前檢視次數 791 次
1 個回答
1
已接受的答案

Index and shard management is taken care by serverless, you don't need to worry about specifying the shards/replica for an index. Even if you have those settings in your index template or index creation step, it would be ignored.

AWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南