Commit b2a0eaeb by mushishixian

修改为模糊搜索

parent fded7bcc
Showing with 1 additions and 1 deletions
......@@ -93,7 +93,7 @@ func Recommend(req *bom.RecommendRequest) (rsp *bom.ResponseData) {
//获取需要请求的索引
index := getRecommendSearchIndex(req)
//获取es的请求参数
queryJson := getRecommendSearchParams(true, req)
queryJson := getRecommendSearchParams(false, req)
result, err := es.CurlES(index, queryJson)
if err != nil {
log.Error(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment