Bulk action to remove values in Elasticsearch
Yes, it is possible.
curl -XPOST -H "Content-Type: application/json" "http://localhost:9200/jerewan/product/_search?pretty" -d'{ { "update" : {"_id" : "1", "_type" : "product", "_index" : "test"} } { "doc" : {"enums" : [20,21]} } { "update" : {"_id" : "2", "_type" : "product", "_index" : "test"} } { "doc" : {"enums" : [15,25, 26]} }}
using this you can update for further read bulk api