Authored by hugufei

update search_filed

... ... @@ -20,7 +20,7 @@ search.index.translog.flush_threshold_ops=5000
#search
search.minimum.should.match=75%
search.operator=and
search.default.field=productName.productName_ansj^10,brandName^500,brandNameCn^100,brandNameCn.brandNameCn_pinyin^100,brandNameEn^100,brandDomain^100,maxSort^300,maxSort.maxSort_pinyin^300,middleSort^500,middleSort.middleSort_pinyin^500,smallSort^1000,smallSort.smallSort_pinyin^1000,productSkn.productSkn_ansj,productKeyword^500,brandKeyword^50,genderS^10,searchField,searchField_ansj
search.default.field=productName.productName_ansj^10,brandName^500,brandNameCn^100,brandNameCn.brandNameCn_pinyin^100,brandNameEn^100,brandDomain^100,maxSort^300,maxSort.maxSort_pinyin^300,middleSort^500,middleSort.middleSort_pinyin^500,smallSort^1000,smallSort.smallSort_pinyin^1000,productSkn.productSkn_ansj,productKeyword^500,brandKeyword^50,genderS^10,standardOnlyNames.standardOnlyNames_pinyin^50,searchField,searchField_ansj
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
... ...
... ... @@ -20,7 +20,7 @@ search.index.translog.flush_threshold_ops=${search.index.translog.flush_threshol
#search
search.minimum.should.match=75%
search.operator=and
search.default.field=productName.productName_ansj^10,brandName^500,brandNameCn^100,brandNameCn.brandNameCn_pinyin^100,brandNameEn^100,brandDomain^100,maxSort^300,maxSort.maxSort_pinyin^300,middleSort^500,middleSort.middleSort_pinyin^500,smallSort^1000,smallSort.smallSort_pinyin^1000,productSkn.productSkn_ansj,productKeyword^500,brandKeyword^50,genderS^10,searchField,searchField_ansj
search.default.field=productName.productName_ansj^10,brandName^500,brandNameCn^100,brandNameCn.brandNameCn_pinyin^100,brandNameEn^100,brandDomain^100,maxSort^300,maxSort.maxSort_pinyin^300,middleSort^500,middleSort.middleSort_pinyin^500,smallSort^1000,smallSort.smallSort_pinyin^1000,productSkn.productSkn_ansj,productKeyword^500,brandKeyword^50,genderS^10,standardOnlyNames.standardOnlyNames_pinyin^50,searchField,searchField_ansj
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
... ...