Is Bulk Index create Index for all documents or some of them?

I want to use bulk Index to Insert multiple(10) objects.

I wanted to know if during insert operation out of 10 objects, 3 object not inserted. in that case BulkIndex operation will rollback operation or not.

There is no rollback in Elasticsearch, but the response will show which were successful and which were not.

Thanks @Christian_Dahlqvist, got your point. I need to implement custom logic it.

Hope in feature release we may get this functionality.

Elasticsearch does not support transactions, so I do not think there are any plans to implement rollbacks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.