是的,批量API支持更新,可以使用部分文档或脚本添加新字段。要遍历您的文档ID,请执行扫描并滚动使用 fields 参数集到一个空数组。
Yes, the bulk API supports updates which can add a new field using a partial document or script. To iterate through your document ids do a scan and scroll with the fields parameter set to an empty array.