Authored by unknown

fix config.properties

@@ -34,7 +34,7 @@ search.default.field=brandName.brandName_lowercase^4000,smallSort^1000,smallSort @@ -34,7 +34,7 @@ search.default.field=brandName.brandName_lowercase^4000,smallSort^1000,smallSort
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) 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)
35 search.script.lang=groovy 35 search.script.lang=groovy
36 36
37 -search.use.cache=false 37 +search.use.cache=true
38 search.cache.type=redisCache 38 search.cache.type=redisCache
39 39
40 #personalized search 40 #personalized search
@@ -34,7 +34,7 @@ search.default.field=brandName.brandName_lowercase^4000,smallSort^1000,smallSort @@ -34,7 +34,7 @@ search.default.field=brandName.brandName_lowercase^4000,smallSort^1000,smallSort
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) 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)
35 search.script.lang=groovy 35 search.script.lang=groovy
36 36
37 -search.use.cache=false 37 +search.use.cache=true
38 search.cache.type=${search.cache.type} 38 search.cache.type=${search.cache.type}
39 39
40 #personalized search 40 #personalized search