es的update_by_query使用
POST 索引名称/update_by_query
{
"script": {
"source": "ctx._source['app_name']=null"
},
"query": {
"bool": {
"must": [{
"term": {
"user_id": "2000000016001008438"
}
}],
"must_not": [],
"should": []
}
}
}