SpringBoot通過SpringData整合ElasticSearch

一、引入相關Jar <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> </dependency> 二、配置相關信息 spring.data.elasticsearch.cluster-name
相關文章
相關標籤/搜索