Commit 07ebf68b authored by 段英荣's avatar 段英荣

modify

parent f251ba1d
......@@ -62,11 +62,11 @@ class PickUtils(object):
{"term":{"pick_id_list":pick_id}},
{"term":{"is_online":True}}
]
},
"_source":{
"include": ["id"]
}
}
q["_source"] = {
"include": ["id"]
}
result_dict = ESPerform.get_search_results(ESPerform.get_cli(),sub_index_name="celebrity",query_body=q,offset=offset,size=size)
recommend_pick_celebrity_list = [item["id"] for item in result_dict["hits"]]
......
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 to comment