Showing
2 changed files
with
2 additions
and
2 deletions
@@ -20,7 +20,7 @@ search.index.translog.flush_threshold_ops=5000 | @@ -20,7 +20,7 @@ search.index.translog.flush_threshold_ops=5000 | ||
20 | #search | 20 | #search |
21 | search.minimum.should.match=75% | 21 | search.minimum.should.match=75% |
22 | search.operator=and | 22 | search.operator=and |
23 | -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 | 23 | +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 |
24 | 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) | 24 | 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) |
25 | search.script.lang=groovy | 25 | search.script.lang=groovy |
26 | 26 |
@@ -20,7 +20,7 @@ search.index.translog.flush_threshold_ops=${search.index.translog.flush_threshol | @@ -20,7 +20,7 @@ search.index.translog.flush_threshold_ops=${search.index.translog.flush_threshol | ||
20 | #search | 20 | #search |
21 | search.minimum.should.match=75% | 21 | search.minimum.should.match=75% |
22 | search.operator=and | 22 | search.operator=and |
23 | -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 | 23 | +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 |
24 | 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) | 24 | 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) |
25 | search.script.lang=groovy | 25 | search.script.lang=groovy |
26 | 26 |
-
Please register or login to post a comment