摘要: 添加依赖spring-boot-starter-data-elasticsearch org.springframework.boot spring-boot-starter-data-elasticsearch org.springframework.boot spring-boot-starte 阅读全文
posted @ 2023-05-12 15:41 朋羽 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 如果是单节点,可以再elasticsearch配置文件里新增 #开启安全 xpack.security.enabled: true #集群节点间不互相通讯 discovery.type: single-node 这里不使用这种方式,还是以集群方式进行配置。集群间节点通讯通过transport方式,开 阅读全文
posted @ 2023-05-12 10:35 朋羽 阅读(748) 评论(0) 推荐(0) 编辑