You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurs if refesh=wait_for is set when requesting Delete by query.
Related component
Search
To Reproduce
When requesting Delete by query, set refesh=wait_for. (ex: test_index/_delete_by_query?refresh=wait_for)
Check if an error occurs.
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Failed to parse value [wait_for] as only [true] or [false] are allowed."
}
],
"type": "illegal_argument_exception",
"reason": "Failed to parse value [wait_for] as only [true] or [false] are allowed."
},
"status": 400
}
Describe the bug
An error occurs if refesh=wait_for is set when requesting Delete by query.
Related component
Search
To Reproduce
Expected behavior
The document for the refresh option of Delete by query(https://opensearch.org/docs/2.12/api-reference/document-apis/delete-by-query/) must be modified or wait_for must be supported.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: