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
When using helpers.bulk to delete objects in bulk, the helpers.bulk function throws the exception shown below. I noticed there are no examples of doing a delete in the documentation.
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
opensearchpy.exceptions.RequestError: RequestError(400, 'action_request_validation_exception', 'Validation Failed: 1: index is missing;')
The bulk function should be able to delete objects in bulk. The same request works fine from postman when going directly against the opensearch '_bulk' API.
What is the bug?
When using helpers.bulk to delete objects in bulk, the helpers.bulk function throws the exception shown below. I noticed there are no examples of doing a delete in the documentation.
How can one reproduce the bug?
Use this code.
What is the expected behavior?
The bulk function should be able to delete objects in bulk. The same request works fine from postman when going directly against the opensearch '_bulk' API.
What is your host/environment?
OS: MacOS 14.7.1 (23H222)
Python 3.12.3
opensearch-py: 2.8.0
The text was updated successfully, but these errors were encountered: