浏览代码

Merge branch 'feature/pool_86_report_search' into debug

xiexiaoyuan 2 年之前
父节点
当前提交
1cc00aea0c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      services/elastic/report.go

+ 2 - 2
services/elastic/report.go

@@ -16,7 +16,7 @@ func SearchReport(keyWord string, classifyIdFirsts []int, classifyIdSeconds []in
 	var must  []map[string]interface{}
 
 	shouldSub := []map[string]interface{}{
-		map[string]interface{}{
+		/*map[string]interface{}{
 			"match": map[string]interface{}{
 				"Title": map[string]interface{}{
 					"query": keyWord,
@@ -42,7 +42,7 @@ func SearchReport(keyWord string, classifyIdFirsts []int, classifyIdSeconds []in
 					"boost": 1,
 				},
 			},
-		},
+		},*/
 		map[string]interface{}{
 			"match_phrase": map[string]interface{}{
 				"Title": map[string]interface{}{