131.ElasticSearch(六):springboot整合es

我们前两章有写过整合es教程,但是那是使用spring data实现的,只能实现简单的es语句,复杂的语句我们推荐使用springboot

一、基本操作的实现

1.创建项目

 

2.添加依赖

项目目录如下:

猜你喜欢

转载自blog.csdn.net/qq_40594696/article/details/119750354
今日推荐