# Update by query in ES with option conflicts=proceed

**URL:** https://discuss.elastic.co/t/update-by-query-in-es-with-option-conflicts-proceed/353169
**Category:** Elasticsearch
**Created:** [February 13, 2024, 12:57pm UTC](https://discuss.elastic.co/t/update-by-query-in-es-with-option-conflicts-proceed/353169 "2024-02-13T12:57:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sdv](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@sdv](https://discuss.elastic.co/u/sdv)
#### Post date: [February 13, 2024, 12:57pm UTC](https://discuss.elastic.co/t/update-by-query-in-es-with-option-conflicts-proceed/353169/1 "2024-02-13T12:57:00Z")

</div>

Hi Team,

I have below two questions for ' **update\_by\_query**' API with option ' **conflicts=proceed**'.

1. Basically if we allow processing documents with 'conflicts=proceed' option and still have a retry based on ' **VersionConflicts**' field of response, the next time will it perform update for all documents matching search filter or just for the documents which has old data for that field?

2. Do we have any plan to return the documents for which 'update\_by\_query' has failed when we specify 'conflict=proceed' option. I can see that in documentation but actual behavior is different, we get empty array in response. It will be really useful if that is in plan.

Thank you!

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 15, 2024, 12:58pm UTC](https://discuss.elastic.co/t/update-by-query-in-es-with-option-conflicts-proceed/353169/3 "2024-02-15T12:58:54Z")

</div>

This is a community forum where people volunteer their time and effort. Be aware that there are no SLAs or even guarantees of getting a response or resolution, although the community is quite active and most queries gets responsed to even though it sometimes can take some time. It is considered quite rude to ping people who are not already involved in the thread.

---

<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 14, 2024, 12:59pm UTC](https://discuss.elastic.co/t/update-by-query-in-es-with-option-conflicts-proceed/353169/4 "2024-03-14T12:59:47Z")

</div>

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