Kaynağa Gözat

Merge branch 'fix_cygx3.1' of hongze/hongze_cygx into master

hongze 3 yıl önce
ebeveyn
işleme
b6d751df80
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      services/elastic.go

+ 1 - 1
services/elastic.go

@@ -830,7 +830,7 @@ func EsMultiMatchFunctionScoreQueryTimeSort(indexName, keyWord string, startSize
 		}
 		n++
 	}
-	//boolquery.Should(matchArr...)
+	boolquery.Should(matchArr...)
 
 	//multiMatch2 := elastic.NewMultiMatchQuery(1, "IsSummary")
 	//bodyFunctionQuery2 := elastic.NewFunctionScoreQuery()