spingboot集成elasticsearch终极版
yml配置文件配置es单机:spring: elasticsearch: rest: uris: ["http://xxx.xxx.xxx.xxx:9200"] connection-timeout: 20s username: xxxxxxxx password: xxxxxxxxx集群:spring: data: elasticsearch: cluster-nodes: xxx.x
原创
2021-01-06 11:09:41 ·
760 阅读 ·
3 评论