elasticsearch RestHighLevelClient
时间: 2023-08-24 10:07:41 浏览: 115
elasticsearch RestHighLevelClient是一个用于操作Elasticsearch的Java客户端工具。它可以通过elasticsearch-rest-high-level-client包来使用。在Spring Boot中,可以通过添加相关依赖来集成RestHighLevelClient。首先,需要添加elasticsearch和elasticsearch-rest-client的基础依赖,然后再添加elasticsearch-rest-high-level-client的依赖。确保客户端的版本不要大于Elasticsearch本体的版本,以避免出现不支持的API。通过这个客户端,你可以进行索引管理等操作。
#### 引用[.reference_title]
- *1* *3* [elasticsearch学习(七):es客户端RestHighLevelClient](https://blog.csdn.net/weixin_40482816/article/details/126955661)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [中间件:ElasticSearch组件RestHighLevelClient用法详解](https://blog.csdn.net/cicada_smile/article/details/113099574)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文