config.properties
2.57 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
62
63
64
65
#redis
redis.proxy.address=${redis.proxy.address}
redis.proxy.port=${redis.proxy.port}
redis.proxy.auth=${redis.proxy.auth}
redis.readonly.proxy.address=${redis.readonly.proxy.address}
redis.readonly.proxy.port=${redis.readonly.proxy.port}
redis.readonly.proxy.auth=${redis.readonly.proxy.auth}
#redis notsync
redis.notsync.twemproxy.addresses=${redis.notsync.twemproxy.addresses}
redis.notsync.twemproxy.auth=${redis.notsync.twemproxy.auth}
#bigData - redis servers
bigDataRedis-search.proxy.address=${bigDataRedis.proxy.address}
bigDataRedis-search.proxy.port=${bigDataRedis.proxy.port}
bigDataRedis-search.proxy.auth=${bigDataRedis.proxy.auth}
#mq
search.mq.server=${search.mq.server}
search.mq.port=${search.mq.port}
search.mq.username=${search.mq.username}
search.mq.password=${search.mq.password}
search.mq.exchange=${search.mq.exchange}
search.mq.virtualHost=${search.mq.virtualHost}
#es
search.es.cluster.name=${search.es.cluster.name}
search.es.servers=${search.es.servers}
search.index.number_of_replicas=${search.index.number_of_replicas}
search.index.refresh_interval=${search.index.refresh_interval}
search.index.translog.flush_threshold_ops=${search.index.translog.flush_threshold_ops}
#rebuild
zkAddress=${zkAddress}
#rebuild config
search.index.batch.limit=${search.index.batch.limit}
search.index.batch.limit.tbl=${search.index.batch.limit.tbl}
search.index.batch.max.thread.size=${search.index.batch.max.thread.size}
#tbl
tbl.product.private.key=a85bb0674e08986c6b115d5e3a4884fa
tbl.product.url=${tbl.product.url}
#adaptor
tpl.adaptor.valid=${tpl.adaptor.valid}
tpl.adaptor.domain=${tpl.adaptor.domain}
#web.content
web.context=search-consumer
#search
search.minimum.should.match=75%
search.operator=and
search.default.field=productName.productName_ansj^10,brandName^500,brandNameCn^100,brandNameCn.brandNameCn_pinyin^100,brandNameEn^100,brandDomain^100,maxSort^300,maxSort.maxSort_pinyin^300,middleSort^500,middleSort.middleSort_pinyin^500,smallSort^1000,smallSort.smallSort_pinyin^1000,productSkn.productSkn_ansj,productKeyword^500,brandKeyword^50,genderS^10,standardOnlyNames.standardOnlyNames_pinyin^50,searchField,searchField_ansj
search.multiMatchQuery.type=BEST_FIELDS
#suggestion
suggestion.count.batch.limit=${suggestion.count.batch.limit}
suggestion.count.batch.max.thread.size=${suggestion.count.batch.max.thread.size}
suggestion.discover.batch.limit=${suggestion.discover.batch.limit}
suggestion.discover.batch.max.thread.size=${suggestion.discover.batch.max.thread.size}
suggestion.count.agg.size=${suggestion.count.agg.size}
suggestion.count.agg.mindoc=${suggestion.count.agg.mindoc}