Authored by hugufei

修改DEV环境

# ******************** redis servers ********************
redis.proxy.address=192.168.102.216
redis.proxy.port = 6379
#redis
redis.proxy.address=192.168.50.69
redis.proxy.port=6379
redis.proxy.auth=
redis.readonly.proxy.address=192.168.102.216
redis.readonly.proxy.address=192.168.50.69
redis.readonly.proxy.port=6379
redis.readonly.proxy.auth=
redis.pool.maxTotal=100
redis.pool.maxIdle=100
redis.pool.maxWaitMillis=2000
redis.pool.minIdle=50
redis.pool.testOnBorrow=false
redis.pool.testWhileIdle=true
#mq
mq.server=192.168.102.208
mq.port=5672
mq.username=admin1
mq.password=123qwe
mq.exchange=yoho_search
#es
#search
search.es.cluster.name=yohosearch_test
search.es.servers=192.168.102.209:9300 192.168.102.208:9300
search.index.number_of_replicas=2
search.es.servers=192.168.102.209:9300 192.168.102.216:9300
search.index.number_of_replicas=1
search.index.refresh_interval=1
search.index.translog.flush_threshold_ops=5000
search.index.batch.limit=5000
... ... @@ -30,15 +17,12 @@ search.index.batch.limit.tbl=2000
search.index.batch.max.thread.size=10
search.minimum.should.match=75%
search.operator=and
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,productKeyword^500,brandKeyword^500,searchField
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,productKeyword^500,searchField
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)
search.script.lang=groovy
tbl.product.private.key=a85bb0674e08986c6b115d5e3a4884fa
tbl.product.url=http://test.soa.global.yohobuy.com/product/api/v1/detail/
#zkAddress
zkAddress=192.168.102.205:2181
#web.context
#web.content
web.context=yohosearch
\ No newline at end of file
... ...