|
@@ -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 {
|