hi everyone,
it is the first time that i have to deal with this problem , when i run my mapping for my index like this
curl -X PUT "localhost:9200/newsout/_mapping/test-type" -H 'Content-Type: application/json' -d' {
"properties": {
"author": { "type": "keyword" },
"date": {
"type": "date",
"format": "yyyy-MM-dd"
},
"description": {
"type": "text",
"analyzer": "french"
},
"topics": { "type": "keyword" },
"link": { "type": "text", "index": "true" },
"locations": { "type": "keyword" },
"organizations": { "type": "keyword" },
"persons": { "type": "keyword" },
"text": {
"type": "text",
"analyzer": "french"
},
"title": {
"type": "text",
"analyzer": "french"
}
}
}'
the output will be --->{"error":{"root_cause":[{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}],"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"},"status":403}
i don't know what kind of problem it is!
thank you