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
When the data returned by client.bulk here contains errors, the error is propagated with an empty message.
data
The reason is this line. The errors returned by bulk in this case are in item.index.error as an object.
bulk
item.index.error
Items with errors in the following format should not lose their error messages:
{ "index": { "_index": "indexName", "_id": "recordId", "_type": "recordType", "status": 400, "error": { "type": "errorType", "reason": "errorReason", "caused_by": { "type": "causedType", "reason": "causedReason" } } }
The text was updated successfully, but these errors were encountered:
Sorry for the slow reply, forgot about it over summer.
I've released v2.0.1 which should fix the problem. Thank you for making the issue! 🙇♂️
Sorry, something went wrong.
No branches or pull requests
When the
data
returned by client.bulk here contains errors, the error is propagated with an empty message.The reason is this line.
The errors returned by
bulk
in this case are initem.index.error
as an object.Items with errors in the following format should not lose their error messages:
The text was updated successfully, but these errors were encountered: