Spring boot elasticsearch
时间: 2024-05-07 13:03:30 浏览: 98
springboot+elasticsearch
SpringBoot可以通过elasticsearch-rest-high-level-client工具来操作ElasticSearch。这种做法的原因是因为没有使用Spring家族封装的spring-data-elasticsearch。
在SpringBoot中使用elasticsearch-rest-high-level-client工具来操作ElasticSearch需要注意SpringBoot和ElasticSearch的版本兼容性。推荐根据SpringBoot的版本选择合适的ElasticSearch版本进行集成。
在整合过程中,可以参考Spring Data Elasticsearch的官方文档,该文档非常详细,可以提供有效的指导。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [SpringBoot 操作 ElasticSearch 详解](https://blog.csdn.net/JacksonKing/article/details/104513527)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [springboot整合elasticsearch](https://blog.csdn.net/zwjzone/article/details/124722936)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文