Questions around `update_by_query` endpoint

Hi everyone,

Just read the doc page Update By Query API | Elasticsearch Guide [8.11] | Elastic and have some questions:

all failures that are returned by the failing bulk request are returned in the failures element;

Does that mean that the failure key from response contains only the first failure or also the documents that have not been updated due to the abort ?

The parameter conflicts=proceed means that we do not abort the process (and we count the number of version_conflicts).

Does that mean that version_conflicts = the size of failure array in that case ?

wait_for_completion=true parameter

seems to mean that the response will no be sent until the process is done ?

retries: The number of retries attempted by update by query. bulk is the number of bulk actions retried, and search is the number of search actions retried.

Should we use that to manage/assure that the process is done ?

Any ideas ?

Thanks!

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