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
bulkResponse.items().first().get() is null in the response. Ops have only one item here.
What is the expected behavior?
bulkResponse.items().first().get() should return the source document back
What is your host/environment?
OpenSearch Version: 2.16.0
Java Client: 2.10.1
Do you have any screenshots?
Do you have any additional context?
My requirement is to fetch the source document back in the bulk response for each of the bulk response item. This is to post process the dependencies based on the changed data and status.
The text was updated successfully, but these errors were encountered:
@abraham-parusu Could you please provide a more complete example? What type of operation are you attempting to perform? As only update operations obey the source param and return the get field.
What is the bug?
BukResponseItem not returning the source document back
How can one reproduce the bug?
BulkRequest.Builder().operations(ops)
.source(SourceConfigParam.Builder().fetch(true).build())
.refresh(Refresh.True).timeout(Time.Builder().time(“1h”).build())
.build()
client.bulk(bulkRequest)
bulkResponse.items().first().get() is null in the response. Ops have only one item here.
What is the expected behavior?
bulkResponse.items().first().get() should return the source document back
What is your host/environment?
OpenSearch Version: 2.16.0
Java Client: 2.10.1
Do you have any screenshots?
Do you have any additional context?
My requirement is to fetch the source document back in the bulk response for each of the bulk response item. This is to post process the dependencies based on the changed data and status.
The text was updated successfully, but these errors were encountered: