|
|
|
@@ -192,9 +192,9 @@ func makeRepoResult(sRes *elastic.SearchResult, Key string, OnlyReturnNum bool) |
|
|
|
} else { |
|
|
|
record["description"] = "" |
|
|
|
} |
|
|
|
if Key == "" { |
|
|
|
record["hightTopics"] = getLabelValue("topics", recordSource, hit.Highlight) |
|
|
|
} |
|
|
|
|
|
|
|
record["hightTopics"] = getLabelValue("topics", recordSource, hit.Highlight) |
|
|
|
log.Info("hight[\"topics\"]=" + getLabelValue("topics", recordSource, hit.Highlight)) |
|
|
|
|
|
|
|
record["num_watches"] = recordSource["num_watches"] |
|
|
|
record["num_stars"] = recordSource["num_stars"] |
|
|
|
|