ES更新数据

2024-03-08

/index/_update_by_query



{

 "query": {

  "term": {

"field_name" : "field_value"

  }

 },

 "script": {

  "source": "ctx._source.is_mount = true"

 }

}