Codec Error with KNN

OpenSearch 2.11.0

Hi all,

How can I change the compression codec with kNN indices? I am getting the below error.

PUT knn_index
{
“settings”: {
“index”: {
“replication”: {
“type”: “DOCUMENT”
},
“codec”: “zstd”,
“number_of_shards”: “1”,
“knn”: “true”
}
}
}

{
“error”: {
“root_cause”: [
{
“type”: “illegal_state_exception”,
“reason”: “existing codec service factory already overridden in: org.opensearch.knn.plugin.KNNPlugin attempting to override again by: org.opensearch.index.codec.customcodecs.CustomCodecPlugin”
}
],
“type”: “illegal_state_exception”,
“reason”: “existing codec service factory already overridden in: org.opensearch.knn.plugin.KNNPlugin attempting to override again by: org.opensearch.index.codec.customcodecs.CustomCodecPlugin”
},
“status”: 500
}

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.