Alternative for SQL transaction in Elastic-search

Is there any alternative to SQL Transactions in Elastic-search?
I want to perform multiple bulk indexing operations in batches and if any batch fails at some point, I would like to revert the whole indexing process.

No, there is not. Elasticsearch does not support transactions.