config.properties 2.04 KB
#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