_update_by_query is very slow (version 7.3 elastic cloud)

when I use this query from dev tools in Kibana

POST some_index/_update_by_query?conflicts=proceed
{
  "script": {
    "source": "ctx._source.view_count = 0",
    "lang": "painless"
  }
}

it will return

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

We have about 300,000 records which isn't much.

How should I solve this problem?

1 Like

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