LAPTOP-KB9HII50\70708 d7d3e168ec 代码修改 5 kuukautta sitten
..
src d7d3e168ec 代码修改 5 kuukautta sitten
pom.xml 5e9bf429f2 新版统计 1 vuosi sitten
readme.md 974dff6fef 111 2 vuotta sitten

readme.md

  1. 该公共包提供了transport和jest的ES服务接口
  2. 如果只需要transport请使用elasticsearch-transport-starter

#配置示例 spring: elasticsearch:

cluster-name: jkzl #默认即为elasticsearch  集群名
cluster-nodes: 172.19.103.45:9300,172.19.103.68:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
client-transport-sniff: false #是否开启嗅探
jest:
  uris: http://172.19.103.45:9200,http://172.19.103.68:9200 #jest的uri
  connection-timeout: 60000 #Connection timeout in milliseconds.
  multi-threaded: true #Enable connection requests from multiple execution threads.