yoho-search-service-autoconfig.properties.bk
2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
autoconfig.properties = sharedAutoconfig
autoconfig.properties.sharedAutoconfig = file:/home/dev/opps/deploy/autoconfig/dev/global-autoconfig.properties
is.do.rebuild.index = true
is.do.rebuild.tbl.index = true
java.logs.home = /Data/logs
jdbc.mysql.yhbsearch.datasources = yhb_search_2016
jdbc.mysql.yhbsearch.master = 192.168.102.216:3306
jdbc.mysql.yhbsearch.password = 9nm0icOwt6bMHjMusIfMLw==
jdbc.mysql.yhbsearch.slave = 192.168.102.216:3306
jdbc.mysql.yhbsearch.username = yh_test
keyword.user.choice.file = /Users/ming/source/logs/fake.csv
mq.exchange = yoho_search
mq.password = 123qwe
mq.port = 5672
mq.server = 192.168.102.208
mq.username = admin1
rabbit.mq.prefix =no
redis.pool.maxIdle = 100
redis.pool.maxTotal = 100
redis.pool.maxWaitMillis = 2000
redis.pool.minIdle = 50
redis.pool.testOnBorrow = false
redis.pool.testWhileIdle = true
redis.port = 6379
redis.server = 192.168.102.216
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,searchField
search.es.cluster.name = yohosearch_test
search.es.servers = 192.168.102.209:9300 192.168.102.208: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)
tbl.product.private.key = a85bb0674e08986c6b115d5e3a4884fa
tbl.product.url = http://test.soa.global.yohobuy.com/product/api/v1/detail/
yoho.search.service.env.namespace = search-service
yoho.search.service.env.serverport = 7
yoho.search.service.env.webapphome = /home/dev/yoho-search-service/deploy