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.
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.