I'm trying to use expand_action_callback function to get back one of the action fields from the streaming_bulk response. There is "_id" but I need to access another field which is in the original action.
Am I on the right track? Can expand_action_callback be used for this purpose?
Currently I am using a monkey-patch on "streaming_bluk" function that adds raw data in to the response as a messy work-around.
Accessing my field in the posted actions data as in below example:
for ok, item, raw_data in streaming_bulk_patch(es, actions): print(raw_data['raw_data']['nosql_id'])