Update index by query error large index

Hey,

I'm trying to update my index by query like so:

POST my_index/_update_by_query?pipeline=my_pipeline&conflicts=proceed

Because my index has alot of docs (nearly 40mil) the update stops after some thousand docs and I receive the message:

{"ok":false,"message":"backend closed connection"}

How can I allow the query to continue running past that?
Or should I trigger alot of times?

Hey,

you probably want to run the update by query asynchronously, see Update By Query API | Elasticsearch Guide [7.13] | Elastic

--Alex

1 Like

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