优化搜索中心search-center,客户端由TransportClient改为HighLevelClient

This commit is contained in:
zlt
2020-03-29 16:26:38 +08:00
parent 3798d5448f
commit 588cd5b00c
20 changed files with 259 additions and 516 deletions
@@ -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: 搜索中心