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
ignore_unavailable query parameter is not working on HEAD operation with indexes
Other
PUT testing { "mappings": {} } HEAD testing?ignore_unavailable=true POST /testing/_close HEAD testing?ignore_unavailable=true
I expect the last HEAD response to be a 404 (since ignore_unavailable = true. But 200 is returned)
As per docs: https://opensearch.org/docs/latest/api-reference/index-apis/exists/#query-parameters
ignore_unavailable: If true, OpenSearch does not search for missing or closed indexes. Default is false.
Closed indexes should throw 404 on the HEAD operation when it's closed and query param ignore_unavailable=true is provided
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
ignore_unavailable query parameter is not working on HEAD operation with indexes
Related component
Other
To Reproduce
I expect the last HEAD response to be a 404 (since ignore_unavailable = true. But 200 is returned)
As per docs: https://opensearch.org/docs/latest/api-reference/index-apis/exists/#query-parameters
ignore_unavailable: If true, OpenSearch does not search for missing or closed indexes. Default is false.
Expected behavior
Closed indexes should throw 404 on the HEAD operation when it's closed and query param ignore_unavailable=true is provided
Additional Details
No response
The text was updated successfully, but these errors were encountered: