Commit 655fe12f authored by lixiaofang's avatar lixiaofang

update contrast_similar

parent 09bace70
......@@ -61,8 +61,8 @@ def get_all_topic_id_list(user_id, offset, size):
}
},
{
"terms":{
"content_level":[3,4,5]
"terms": {
"content_level": [3, 4, 5]
}
}],
"minimum_should_match": 1,
......@@ -96,7 +96,7 @@ def get_all_topic_id_list(user_id, offset, size):
logging.info('contrast_similar_topic_id:%s' % contrast_topic_ids)
return {"contrast_user_id_list": contrast_topic_ids}
return contrast_topic_ids
except:
......
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