update table set filed1 = 'a' where filed2 = 'b'es全量更新某个字段
POST /qs_test/_update_by_query
{
"query": {
"match_all": {}
},
"script": {
"source": "ctx._source.cateId = '0002'"
}
}

update table set filed1 = 'a' where filed2 = 'b'es全量更新某个字段
POST /qs_test/_update_by_query
{
"query": {
"match_all": {}
},
"script": {
"source": "ctx._source.cateId = '0002'"
}
}