I have the following Python code to do a ElasticSearch batch update, and when I get back the response object, I got something very simple, and it doesn't look right to me, anything wrong here?
...
actions = []
for item in data:
actions.append({"_index": index,
"_type": doc_type,
"_id": item['id'],
"_source": item})
print ("batching result")
response = helpers.bulk(self.es.conn, actions)
print (response)
Here is the output, but I'm expecting something more detail.
batching result
(2, [])
stats_onlyis set to True"