Browse Source

no message

xingzai 2 years ago
parent
commit
fa5bc82cc5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/elastic.go

+ 1 - 1
services/elastic.go

@@ -709,7 +709,7 @@ func EsArticleSearchBody(keyWord string, startSize, pageSize int, orderColumn st
 	queryMap["highlight"] = highlightMap
 	jsonBytes, _ := json.Marshal(queryMap)
 	fmt.Println(string(jsonBytes))
-	utils.FileLog.Info(string(jsonBytes))
+	//utils.FileLog.Info(string(jsonBytes))
 	request := client.Search(indexName).Source(queryMap) // sets the JSON request
 	searchByMatch, err := request.Do(context.Background())
 	if searchByMatch != nil {