Update_by_query - empty failures list in response when conflicts=proceed

Continuing the discussion from Update_by_query with proceed does not return failure:

I repeat @Paul_Le_Tilly question.

Is it possible to return the failures list when the conflicts option has been set to proceed?

Thanks to that I could retry my update with failed documents. Now it's not possible without changing an additional field in the document.

1 Like

I found the answer here: github

We talked about this in the initial reindex implementation. We didn't want to do more than count the failures when conflicts=proceed because the number of failures can grow huge. It is possible to preserve the first N of them if we have a use case for it, but we'll never be able to preserve all of them.

1 Like

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