Commit f5879ea5 by mushishixian

status

parent 168acc74
Showing with 1 additions and 1 deletions
......@@ -170,7 +170,7 @@ func getBomTermQuery(goodsName, brandName string, number int32, isRawSearch bool
field := "auto_goods_name"
query = query.Must(elastic.NewTermQuery(field, goodsName))
}
//query = query.Filter(elastic.NewTermQuery("status", 1))
query = query.Filter(elastic.NewTermQuery("status", 1))
source := elastic.NewSearchSource().Query(query)
source.From(0)
if isRawSearch {
......
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