yoho-search-service-autoconfig.properties
1.51 KB
autoconfig.properties = sharedAutoconfig
autoconfig.properties.sharedAutoconfig = file:/home/test/opps/deploy/autoconfig/test/global-autoconfig.properties
jdbc.mysql.yhbsearch.datasources = yhb_search
jdbc.mysql.yhbsearch.master = 10.66.100.11:3306
jdbc.mysql.yhbsearch.password = 9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhbsearch.slave = 10.66.100.11:3306
jdbc.mysql.yhbsearch.username = yh_test
search.default.field = productName_ansj^10,brandName^500,brandDomain^100,brandNameCn^100,brandNameEn^100,maxSort^300,middleSort^500,smallSort^1000,searchField_ansj,productSkn_ansj,brandNameCn_pinyin^100,maxSort_pinyin^300,middleSort_pinyin^500,smallSort_pinyin^1000,productKeyword^500,brandKeyword^500,searchField
search.es.cluster.name = yohosearch_test
search.es.servers = 10.66.100.2:9300 10.66.100.3:9300 10.66.100.4:9300
search.index.batch.limit = 5000
search.index.batch.limit.tbl = 2000
search.index.batch.max.thread.size = 10
search.index.number_of_replicas = 2
search.index.refresh_interval = 1
search.index.translog.flush_threshold_ops = 5000
search.minimum.should.match = 75%
search.operator = and
search.script.lang = groovy
search.script.score = _score+doc['sortWeight'].value*0.003+(100-doc['breakingRate'].value)/100 * doc['salesWithDateDiff'].value/pow((now-doc['shelveTime'].value)/3600+2,1.8)
yoho.search.service.env.namespace = yohosearch
yoho.search.service.env.serverport = 0
yoho.search.service.env.webapphome = /home/test//yoho-search-service/deploy