# Python helpers.parallel\_bulk() elasicsearch 5.2

**URL:** <https://discuss.elastic.co/t/python-helpers-parallel-bulk-elasicsearch-5-2/74565>\
**Category:** Elasticsearch\
**Created:** [February 9, 2017, 8:51pm UTC](https://discuss.elastic.co/t/python-helpers-parallel-bulk-elasicsearch-5-2/74565 "2017-02-09T20:51:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [February 9, 2017, 8:51pm UTC](https://discuss.elastic.co/t/python-helpers-parallel-bulk-elasicsearch-5-2/74565/1 "2017-02-09T20:51:59Z")

</div>

Hi All,

I created this script [script source](https://gist.github.com/pjanzen/23c82407b729aaa58911995db918f323) and in it self it is working fine but due to using parallel\_bulk updates I am getting version conflict errors. I cannot get clear from the documentation what option I must set to get those failures to retry.

The goal of this script is to read index A, update index B and delete the records from index A, as I am doing the delete first I cannot got back on those records and as I do not have the orginal id in the update records I cannot pop him out either.

So hopefully someone can help me with either set a retry option or with the later question.

Thanks,  
Paul.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 9, 2017, 8:52pm UTC](https://discuss.elastic.co/t/python-helpers-parallel-bulk-elasicsearch-5-2/74565/2 "2017-03-09T20:52:05Z")

</div>

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