ES按照条件批量更新

POST     http://127.0.0.1:9201/log_20230905/_update_by_query 

{
  "script": {
    "source": "ctx._source.sceneName='-'",
    "lang": "painless"
  },
  "query": {
    "term": {
      "isSuccess": "1"
    }
  }
}

你可能感兴趣的:(java,服务器,前端)