• es的update_by_query使用

    POST 索引名称/update_by_query { "script": { "source": "ctx._source['app_name']=null" }, "query": { "bool": { "must": [{ "term": { "user_id": "2000000016001008438" } }], "must_not": [], "should": [] } } }
公告

欢迎访问 goshare  点击这里设置您的邮箱  可以接收站内跟帖、回复邮件提醒,不错过任何一条消息。

关注公众号订阅更多技术干货! 魅力技术资源分享