Authored by hugufei

修改DEV环境

1 -# ******************** redis servers ********************  
2 -redis.proxy.address=192.168.102.216  
3 -redis.proxy.port = 6379 1 +#redis
  2 +redis.proxy.address=192.168.50.69
  3 +redis.proxy.port=6379
4 redis.proxy.auth= 4 redis.proxy.auth=
5 -redis.readonly.proxy.address=192.168.102.216 5 +redis.readonly.proxy.address=192.168.50.69
6 redis.readonly.proxy.port=6379 6 redis.readonly.proxy.port=6379
7 redis.readonly.proxy.auth= 7 redis.readonly.proxy.auth=
8 -redis.pool.maxTotal=100  
9 -redis.pool.maxIdle=100  
10 -redis.pool.maxWaitMillis=2000  
11 -redis.pool.minIdle=50  
12 -redis.pool.testOnBorrow=false  
13 -redis.pool.testWhileIdle=true  
14 8
15 -#mq  
16 -mq.server=192.168.102.208  
17 -mq.port=5672  
18 -mq.username=admin1  
19 -mq.password=123qwe  
20 -mq.exchange=yoho_search  
21 -  
22 -#es 9 +#search
23 search.es.cluster.name=yohosearch_test 10 search.es.cluster.name=yohosearch_test
24 -search.es.servers=192.168.102.209:9300 192.168.102.208:9300  
25 -search.index.number_of_replicas=2 11 +search.es.servers=192.168.102.209:9300 192.168.102.216:9300
  12 +search.index.number_of_replicas=1
26 search.index.refresh_interval=1 13 search.index.refresh_interval=1
27 search.index.translog.flush_threshold_ops=5000 14 search.index.translog.flush_threshold_ops=5000
28 search.index.batch.limit=5000 15 search.index.batch.limit=5000
@@ -30,15 +17,12 @@ search.index.batch.limit.tbl=2000 @@ -30,15 +17,12 @@ search.index.batch.limit.tbl=2000
30 search.index.batch.max.thread.size=10 17 search.index.batch.max.thread.size=10
31 search.minimum.should.match=75% 18 search.minimum.should.match=75%
32 search.operator=and 19 search.operator=and
33 -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 20 +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
34 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) 21 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)
35 search.script.lang=groovy 22 search.script.lang=groovy
36 23
37 -tbl.product.private.key=a85bb0674e08986c6b115d5e3a4884fa  
38 -tbl.product.url=http://test.soa.global.yohobuy.com/product/api/v1/detail/  
39 -  
40 #zkAddress 24 #zkAddress
41 zkAddress=192.168.102.205:2181 25 zkAddress=192.168.102.205:2181
42 26
43 -#web.context 27 +#web.content
44 web.context=yohosearch 28 web.context=yohosearch