Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Describe the issue: I am trying to reindex my data. I have about docs.count= 6245071, store.size=1.2TB and pri.store.size=429.3gb.
I am trying to create a new index with a different mapping(shards). I read this on the documentation to disable replicas in the destination index by setting number_of_replicas to 0 and re-enable them once the reindex process is complete.
I tried to do this in my PUT command while creating the index. But I am getting am error below:
{
“error”: {
“root_cause”: [
{
“type”: “illegal_argument_exception”,
“reason”: “Validation Failed: 1: expected total copies needs to be a multiple of total awareness attributes [3];”
}
],
“type”: “illegal_argument_exception”,
“reason”: “Validation Failed: 1: expected total copies needs to be a multiple of total awareness attributes [3];”
},
“status”: 400
}
How to make changes to avoid this error?
Configuration: Opensearch version 2.17.0
Relevant Logs or Screenshots:
