📜  索引 [magento2_product_1_v1] 被阻止:[FORBIDDEN 12 index read-only allow delete (api)]; - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:17.955000             🧑  作者: Mango

代码示例1
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_cluster/settings -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'