Showing
1 changed file
with
1 additions
and
1 deletions
@@ -28,7 +28,7 @@ search.index.refresh_interval=${search.index.refresh_interval} | @@ -28,7 +28,7 @@ search.index.refresh_interval=${search.index.refresh_interval} | ||
28 | search.index.translog.flush_threshold_ops=${search.index.translog.flush_threshold_ops} | 28 | search.index.translog.flush_threshold_ops=${search.index.translog.flush_threshold_ops} |
29 | 29 | ||
30 | #search | 30 | #search |
31 | -search.minimum.should.match=50% | 31 | +search.minimum.should.match=75% |
32 | search.operator=or | 32 | search.operator=or |
33 | search.default.field=brandName.brandName_lowercase^4000,smallSort^1000,smallSort.smallSort_pinyin^1000,middleSort^950,middleSort.middleSort_pinyin^950,maxSort^900,maxSort.maxSort_pinyin^900,brandName^900,brandNameCn^850,brandNameCn.brandNameCn_pinyin^850,brandNameEn^800,brandDomain^800,specialSearchField^700,specialSearchFieldPrice^700,specialSearchFieldVideo^700,productName.productName_ansj^300,standardOnlyNames.standardOnlyNames_pinyin^250,standardOnlyNames.standardOnlyNames_ansj^250,productKeyword^50,brandKeyword^30,genderS^20,salesPhrase^50,marketPhrase^50,searchField_ansj^10,promotionTitles^5,searchField,productSkn.productSkn_ansj,productSkn.productSkn_ik | 33 | search.default.field=brandName.brandName_lowercase^4000,smallSort^1000,smallSort.smallSort_pinyin^1000,middleSort^950,middleSort.middleSort_pinyin^950,maxSort^900,maxSort.maxSort_pinyin^900,brandName^900,brandNameCn^850,brandNameCn.brandNameCn_pinyin^850,brandNameEn^800,brandDomain^800,specialSearchField^700,specialSearchFieldPrice^700,specialSearchFieldVideo^700,productName.productName_ansj^300,standardOnlyNames.standardOnlyNames_pinyin^250,standardOnlyNames.standardOnlyNames_ansj^250,productKeyword^50,brandKeyword^30,genderS^20,salesPhrase^50,marketPhrase^50,searchField_ansj^10,promotionTitles^5,searchField,productSkn.productSkn_ansj,productSkn.productSkn_ik |
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) |
-
Please register or login to post a comment