How to do bulk update in elastic-search?

In index I have fields called Phone Number and Status I want to update status field for some phone number in one go how can I achieve that using curl.
Is it possible to implement with Javascript?

Try UpdateByQuery API

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

using scripts you can update the status in one go

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