集成ES
This commit is contained in:
parent
0321b4753a
commit
a8f1871a48
|
|
@ -172,3 +172,20 @@ spring:
|
|||
- qrtz_cron_triggers
|
||||
- qrtz_calendars
|
||||
- qrtz_blob_triggers
|
||||
easy-es:
|
||||
banner: false
|
||||
address: 47.122.74.162:9200
|
||||
username: elastic #es用户名,若无则删去此行配置
|
||||
password: rer8cpBAvEWs #es密码,若无则删去此行配置
|
||||
keep-alive-millis: 30000 # 心跳策略时间 单位:ms
|
||||
connect-timeout: 15000 # 连接超时时间 单位:ms
|
||||
socket-timeout: 600000 # 通信超时时间 单位:ms
|
||||
request-timeout: 15000 # 请求超时时间 单位:ms
|
||||
connection-request-timeout: 15000 # 连接请求超时时间 单位:ms
|
||||
global-config:
|
||||
process-index-mode: manual #索引处理模式,smoothly:平滑模式, not_smoothly:非平滑模式, manual:手动模式,,默认开启此模式
|
||||
print-dsl: true
|
||||
async-process-index-blocking: true # 异步处理索引是否阻塞主线程 默认阻塞 数据量过大时调整为非阻塞异步进行 项目启动更快
|
||||
db-config:
|
||||
map-underscore-to-camel-case: true # 是否开启下划线转驼峰 默认为false
|
||||
index-prefix: ${spring.profiles.active}_ # 索引前缀,可用于区分环境 默认为空 用法和MP的tablePrefix一样的作用和用法
|
||||
Loading…
Reference in New Issue