POST property_sql/property_info/_update_by_query
{
  "script": {
    "lang": "painless",
    "inline": "ctx._source.published = 1"
  }
}

效果
elasticsearch批量更新全部文档的某个字段

相关文章: