Update by query API.
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html