类似sql语法

update table set filed1 = 'a' where filed2 = 'b'

es全量更新某个字段

POST /qs_test/_update_by_query
{
  "query": {
    "match_all": {}
  },
  "script": {
    "source": "ctx._source.cateId = '0002'"
  }
}
Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐