From 8521d2ac08bf325a75064f27b6dd5f6a1cc8e006 Mon Sep 17 00:00:00 2001
From: hugufei <gufei.hu@yoho.cn>
Date: Wed, 24 Aug 2016 13:40:29 +0800
Subject: [PATCH] update search_filed

---
 web/src/main/resources/config.properties                | 2 +-
 web/src/main/webapp/META-INF/autoconf/config.properties | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/src/main/resources/config.properties b/web/src/main/resources/config.properties
index 7edc74d..24b1cea 100644
--- a/web/src/main/resources/config.properties
+++ b/web/src/main/resources/config.properties
@@ -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
 
diff --git a/web/src/main/webapp/META-INF/autoconf/config.properties b/web/src/main/webapp/META-INF/autoconf/config.properties
index 597cbae..ad85fb8 100644
--- a/web/src/main/webapp/META-INF/autoconf/config.properties
+++ b/web/src/main/webapp/META-INF/autoconf/config.properties
@@ -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
 
--
libgit2 0.24.0