29 lines
729 B
Properties
29 lines
729 B
Properties
|
|
spring.application.name=doc-parser-server
|
|
application.author=Luke.Ye
|
|
server.port=18080
|
|
|
|
# 日志相关
|
|
logging.config=classpath:log/log4j.xml
|
|
log4j2.enable.threadlocals=true
|
|
logging.level.com.doc.parser=info
|
|
logging.level.root=${logging.level.com.doc.parser}
|
|
logging.org.springframework.web=${logging.level.com.doc.parser}
|
|
logging.org.springframework.context=${logging.level.com.doc.parser}
|
|
|
|
# ES相关
|
|
elasticsearch.host=es.wisdompulse.cn
|
|
elasticsearch.port=80
|
|
elasticsearch.scheme=http
|
|
search.default-page-size=100
|
|
|
|
# 是否打开定时导入,且指定导入的频率
|
|
import.schedule.enabled=true
|
|
# 每小时执行一次(可改)
|
|
import.schedule.cron=0 0 * * * *
|
|
|
|
|
|
# Redis 开关控制
|
|
knowledge.base.redis.enable=false
|
|
|