config.properties 1.27 KB
#es
yohomarssearch.es.cluster.name=yohomarssearch
yohomarssearch.es.servers=192.168.102.17:9300
yohomarssearch.index.number_of_replicas=0
yohomarssearch.index.refresh_interval=10s
yohomarssearch.index.translog.flush_threshold_ops=10000

#indexRebuild
search.index.batch.limit=1000
search.index.batch.max.thread.size=10

#search
search.minimum.should.match=30%
search.operator=or
search.use.cache=true
search.multiMatchQuery.type=CROSS_FIELDS
search.suggest.field=suggest^1
search.default.field.bizArea=name^300,english_name^200,name_tc^200,des^100
search.default.field.store=store_name^1000,store_english_name^1000,store_name_tc^1000,store_first^500,address_full^300,des^100
search.default.field.topic=title^300,title_tc^200
search.default.field.line=title^300,title_tc^200
search.default.field.comment=description^300
search.default.field.socialUser=s_nick_name^1000

#web.content
web.context=yohomars-search

#zkAddress
zkAddress=192.168.102.216:2181


# ********************  redis servers  ********************
redis.proxy.address=192.168.102.17
redis.proxy.port=6380
redis.proxy.auth=

redis.readonly.proxy.address=192.168.102.17
redis.readonly.proxy.port=6380
redis.readonly.proxy.auth=

redis.notsync.twemproxy.addresses=192.168.102.17:6380,192.168.102.17:6380
redis.notsync.twemproxy.auth=