Hi There,
I am having an issue while trying to perform PUT request from ElasticSearch.Net. First run successsfully inserts the document record, however when i update the data for another document and runs again, it just throws an error.
Here is the error the i get,
{
"error": {
"root_cause": [{
"type": "cluster_block_exception",
"reason": "blocked by: [FORBIDDEN / 12 / index read - only / allow delete(api)];
"}],"
type ":"
cluster_block_ex
ception ","
reason ":"
blocked by: [FORBIDDEN / 12 / index read - only / allow delete(api)];
"},"
status ":403
}
I again have to perform the below PUT Operation to make it work,
PUT employees/_settings { "index": { "blocks": { "read_only_allow_delete": "false" } } }
My Sample Test C# Snippet looks like this,
It would be great if someone could help to overcome this issue.
Thanks,
Rammohan B.