Commit ab5f9029 by hcy001

1

parent bcf76ba0
Showing with 1 additions and 1 deletions
......@@ -165,7 +165,7 @@ func getTermQuery(bomItem model.BomItem, sort int, flag bool,isAlike bool) (quer
} else if isAlike && goodsName != "" { //todo 推荐型号搜索
query = query.Must(es.NewTermsQuery("alike_spu_name.raw", goodsName))
} else if goodsName != "" {
query = query.Must(es.NewTermQuery("auto_goods_name", goodsName))
query = query.Must(es.NewTermQuery("goods_name", goodsName))
}
common.PrintDebug("isalike:",isAlike)
......
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