config.properties
2.04 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
61
#web.content
web.context=search-consumer
#zk
zkAddress=192.168.102.224:2181
#es
search.es.cluster.name=yohosearch
search.es.servers=192.168.102.12:9300 192.168.102.13:9300
search.index.number_of_replicas=1
search.index.refresh_interval=1s
search.index.translog.flush_threshold_ops=5000
#mq
search.mq.server=192.168.102.224
search.mq.port=5672
search.mq.username=admin1
search.mq.password=123qwe
search.mq.exchange=yoho_search
search.mq.virtualHost=/yohosearch
#redis
redis.proxy.address=192.168.102.222
redis.proxy.port=6379
redis.proxy.auth=
redis.readonly.proxy.address=192.168.102.222
redis.readonly.proxy.port=6379
redis.readonly.proxy.auth=
redis.notsync.twemproxy.addresses=192.168.102.222:6379
redis.notsync.twemproxy.auth=
bigDataRedis-search.proxy.address=test-bigdata-redis-1903805580.cn-north-1.elb.amazonaws.com.cn
bigDataRedis-search.proxy.port=6379
bigDataRedis-search.proxy.auth=
#index rebuild
search.index.batch.limit=5000
search.index.batch.limit.tbl=2000
search.index.batch.max.thread.size=1
#tbl
tbl.product.private.key=a85bb0674e08986c6b115d5e3a4884fa
tbl.product.url=http://test.soa.global.yohobuy.com/product/api/v1/detail/
#adaptor
tpl.adaptor.domain=http://192.168.102.224:8085/search-adaptor
tpl.adaptor.valid=true
#search
search.minimum.should.match=75%
search.operator=and
search.default.field=smallSort^1000,smallSort.smallSort_pinyin^1000,middleSort^950,middleSort.middleSort_pinyin^950,maxSort^900,maxSort.maxSort_pinyin^900,brandName^900,brandNameCn^850,brandNameCn.brandNameCn_pinyin^850,brandNameEn^800,brandDomain^800,specialSearchField^700,productName.productName_ansj^300,standardOnlyNames.standardOnlyNames_pinyin^100,standardOnlyNames.standardOnlyNames_ansj^100,productKeyword^50,brandKeyword^30,genderS^20,searchField_ansj^10,searchField,productSkn.productSkn_ansj
search.multiMatchQuery.type=CROSS_FIELDS
#suggestion
suggestion.count.batch.limit=300
suggestion.count.batch.max.thread.size=1
suggestion.discover.batch.limit=500
suggestion.discover.batch.max.thread.size=3
suggestion.count.agg.size=10000
suggestion.count.agg.mindoc=5