We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using opensearch-java-2.8.0 and trying to set the index block to read_only using the below code.
PutIndicesSettingsResponse response = elasticSearchIndicesClient.putSettings(b->b.index(index) .settings(s->s.blocksReadOnly(true)));
and then trying to unset it by passing false
I get the below error while unsetting it.
org.opensearch.client.opensearch._types.OpenSearchException: Request failed: [cluster_block_exception] index ["some_index"] blocked by: [FORBIDDEN/5/index read-only (api)];
Please let me know the correct way to set it and you can close this if this is not a issue.
The text was updated successfully, but these errors were encountered:
@pardhukota-pk Is this a client problem or server? can you reproduce the same issue with curl?
curl
Sorry, something went wrong.
No branches or pull requests
I am using opensearch-java-2.8.0 and trying to set the index block to read_only using the below code.
and then trying to unset it by passing false
I get the below error while unsetting it.
org.opensearch.client.opensearch._types.OpenSearchException: Request failed: [cluster_block_exception] index ["some_index"] blocked by: [FORBIDDEN/5/index read-only (api)];
Please let me know the correct way to set it and you can close this if this is not a issue.
The text was updated successfully, but these errors were encountered: