-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
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
[BUG] Bulk Update Request fails due to inconsistent request body generated by the Java Client #376
Labels
bug
Something isn't working
Comments
tnahddisttud
changed the title
[BUG] Bulk Update Request inconsistent with the documentation, throws [x_content_parse_exception]
[BUG] Bulk Update Request fails due to inconsistent request body generated by the Java Client, throws [x_content_parse_exception]
Feb 22, 2023
tnahddisttud
changed the title
[BUG] Bulk Update Request fails due to inconsistent request body generated by the Java Client, throws [x_content_parse_exception]
[BUG] Bulk Update Request fails due to inconsistent request body generated by the Java Client
Feb 22, 2023
This is a good catch. Feel free to offer a PR of a failing test and if you're up for it, a fix. |
Lets close this. I saw @VachaShah signed up to do a release :) |
Yes tracking the release in #380 :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the Java API Client’s (version: 2.2.0)
BulkRequest.Builder
andUpdateOperation.Builder
for building bulk update requests behaves differently as compared to bulk operation documentation . Because of this attempting to perform the bulk-update operations using the Java Client results in a[x_content_parse_exception]
Built a Bulk request using the following code:
The request body being created is:
But as per the documentation it should look like this:
The text was updated successfully, but these errors were encountered: