RestHighLevelClient 使用总结

.index 接口 --新增/更新索引,内容更新是覆盖式的
.update 接口 --更新索引,支持局部字段的更新,相对.index接口相比,减少了没有必要的字段更新

 

相关文档:

https://zhuanlan.zhihu.com/p/551414799

posted @ 2023-05-05 18:32  小草丶  阅读(105)  评论(0)    收藏  举报