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
To be fair I am not sure if this is a bug or an intentional design choice.
When I insert many docs in one go using Bulk Request API, there is no way of knowing how many docs have failed due to bad data they contain. For instance, if you insert a single doc (I know it is a bad doc) using non-bulk operation, you will get 400 error telling you what the problem was. However, bulk API carries on without an error.
Actually the response body reports if there is an error but looks like I have to iterate objects one by one in order to extract errors which will probably be very costly.
What is the bug?
To be fair I am not sure if this is a bug or an intentional design choice.
When I insert many docs in one go using Bulk Request API, there is no way of knowing how many docs have failed due to bad data they contain. For instance, if you insert a single doc (I know it is a bad doc) using non-bulk operation, you will get 400 error telling you what the problem was. However, bulk API carries on without an error.
How can one reproduce the bug?
What is the expected behavior?
At least
res.IsError()
or something could list failed docs.The text was updated successfully, but these errors were encountered: