提交配置

This commit is contained in:
moon 2025-09-16 17:42:41 +08:00
parent 1a319f650a
commit db5fabc876
1 changed files with 13 additions and 5 deletions

View File

@ -61,15 +61,23 @@ ocr:
uploadPath: ${ocr-upload-path:/var/www/ppocr/uploads/} uploadPath: ${ocr-upload-path:/var/www/ppocr/uploads/}
outputPath: ${ocr-output-path:/var/www/ppocr/output/} outputPath: ${ocr-output-path:/var/www/ppocr/output/}
# 深度解析配置
deep:
analysis:
max:
concurrent: ${deep-analysis-max-concurrent:4} # 深度解析最大并发数
tempPath: ${deep-analysis-temp-path:/var/www/deepTemp/} # 深度解析临时文件路径
#es检索服务配置 #es检索服务配置
elasticsearch: elasticsearch:
host: 192.168.8.253 host: ${es-host:192.168.8.253}
port: 9200 port: ${es-port:9200}
scheme: http scheme: ${es-scheme:http}
#存储文件路径 #存储文件路径
dirPath: C:/Users/ASUS/Desktop/data/ dirPath: ${es-dirPath:C:\\Users\\ASUS\\Desktop\\data}
#是否删除索引,重新构建索引 #是否删除索引,重新构建索引
deleteIndex: false deleteIndex: ${es-deleteIndex:false}