|
|
@@ -44,7 +44,7 @@ spring:
|
|
|
hibernate.naming.physical-strategy: org.hibernate.scripts.model.naming.PhysicalNamingStrategyStandardImpl
|
|
|
hibernate.cache.use_second_level_cache: false
|
|
|
hibernate.search.backend.directory.type: local-filesystem
|
|
|
- hibernate.search.backend.directory.root: /opt/data/search_data/hibernate_lucene
|
|
|
+ hibernate.search.backend.directory.root: ${app.base-dir}/${app.hibernate-lucene-dirname}
|
|
|
hibernate.search.backend.analysis.configurer: class:cn.reghao.tnb.search.app.config.MyLuceneAnalysisConfigurer
|
|
|
cloud:
|
|
|
discovery:
|
|
|
@@ -75,10 +75,15 @@ eureka:
|
|
|
fetch-registry: true
|
|
|
service-url:
|
|
|
defaultZone: http://192.168.0.210:6060/eureka/
|
|
|
-es:
|
|
|
- host: 127.0.0.1
|
|
|
- port: 9200
|
|
|
- username: elastic
|
|
|
- password: VLTtN03SSJ4lsyyg56kf
|
|
|
- native-lucene-dir: /opt/data/search_data/native_lucene
|
|
|
- hibernate-lucene-dir: /opt/data/search_data/hibernate_lucene
|
|
|
+app:
|
|
|
+ es-host: 192.168.0.81
|
|
|
+ es-port: 9200
|
|
|
+ es-username: elastic
|
|
|
+ es-password: VLTtN03SSJ4lsyyg56kf
|
|
|
+ kafka-uri: 192.168.0.81:9092
|
|
|
+ kafka-topic: NginxLog
|
|
|
+ base-dir: /opt/data/search_data
|
|
|
+ native-lucene-dirname: native_lucene
|
|
|
+ hibernate-lucene-dirname: hibernate_lucene
|
|
|
+ geoip-filename: qqwry.dat
|
|
|
+ geojson-filename: china1.json
|