Commit 494cf3ce authored by lixiaofang's avatar lixiaofang

add logging

parent 3201d20d
...@@ -137,7 +137,7 @@ def pictorial_topic(topic_id=-1, offset=0, size=10): ...@@ -137,7 +137,7 @@ def pictorial_topic(topic_id=-1, offset=0, size=10):
if len(pict_pictorial_ids_list) < 10: if len(pict_pictorial_ids_list) < 10:
q["query"] = { q["query"] = {
"terms": { "terms": {
"tag_id": topic_tag_list "tag_id": topic_tag_list[0]
} }
} }
q["_source"] = { q["_source"] = {
......
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