1 個回答
- 最新
- 最多得票
- 最多評論
0
答えを見つけることができました。 解決策はこちらのページに従いました。 https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-operations.html#version_api_notes
ページには
The high-level Java REST client uses the expanded form, so if you need to send settings requests, use the low-level client.
と記載。
うまくいかない例
PUT _cluster/settings
{
"persistent": {
"plugins": {
"ml_commons": {
"only_run_on_ml_node": "false",
"model_access_control_enabled": "true",
"native_memory_threshold": "99"
}
}
}
}
うまくいった例
PUT _cluster/settings
{
"persistent": {
"plugins.ml_commons.only_run_on_ml_node": "false",
"plugins.ml_commons.model_access_control_enabled": "true",
"plugins.ml_commons.native_memory_threshold": "99"
}
}
うまくいった例で実行したところ、_cluster/settingに追加することができました。
已回答 5 個月前