Reputation: 1078
I am using updateByQuery to update documents but I am getting version conflicts error. How I can handle this error.Can I use wait_for_completion option in elastic search to avoid version conflicts error? is any other solution to handle version conflicts error in updateByQyery?
Upvotes: 1
Views: 797
Reputation: 217474
You simply need to specify conflicts=proceed
in the URL, like this
POST your-index/_update_by_query?conflicts=proceed
Upvotes: 1