suxiaoyang 1164851911 ES完善配置信息 | преди 6 години | |
---|---|---|
.. | ||
src | преди 6 години | |
pom.xml | преди 6 години | |
readme.md | преди 6 години |
#配置示例 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.