Authored by hugufei

本地默认使用缓存

@@ -22,7 +22,7 @@ search.default.field=productName_ansj^10,brandName^500,brandDomain^100,brandName @@ -22,7 +22,7 @@ search.default.field=productName_ansj^10,brandName^500,brandDomain^100,brandName
22 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) 22 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)
23 search.script.lang=groovy 23 search.script.lang=groovy
24 24
25 -search.use.cache=false 25 +search.use.cache=true
26 tpl.adaptor.valid=true 26 tpl.adaptor.valid=true
27 27
28 #zkAddress 28 #zkAddress