elasticsearch批量更新文档的某个字段
版本为ES 5.2 POST index/type/_update_by_query{ "script": { "lang": "painless", "inline": "if (ctx._source.abc== null) {ctx._source.abc= 0}" }}abc是某字段;当es中数