优化搜索中心search-center,客户端由TransportClient改为HighLevelClient
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
spring:
|
||||
data:
|
||||
elasticsearch:
|
||||
cluster-name: ${zlt.elasticsearch.cluster-name}
|
||||
cluster-nodes: ${zlt.elasticsearch.cluster-nodes}:9300
|
||||
elasticsearch:
|
||||
rest:
|
||||
uris: ${zlt.elasticsearch.cluster-nodes}:9200
|
||||
uris: ${zlt.elasticsearch.uris}
|
||||
username: ${zlt.elasticsearch.username}
|
||||
password: ${zlt.elasticsearch.password}
|
||||
|
||||
zlt:
|
||||
indices:
|
||||
show: sys-log-*, mysql-slowlog-*, sys_user, point-log-*, audit-log-*
|
||||
show: sys-log-*,mysql-slowlog-*,sys_user,point-log-*,audit-log-*
|
||||
swagger:
|
||||
enabled: true
|
||||
title: 搜索中心
|
||||
|
||||
Reference in New Issue
Block a user