POST company_classified_un_sensitive4/_update_by_query
{
"script": {
"source": "ctx._source['regionCode1']=65000;",
"lang": "painless"
},
"query": {
"bool": {
"must": [
{
"exists": {
"field": "highTechPeriod"
}
}
],
"must_not": [
{
"term": {
"regionCode1": {
"value": 650000
}
}
}
]
}
}
}
ES条件更新,ES条件部分更新
最新推荐文章于 2024-05-17 16:05:44 发布