Commit 1e0c1a66 authored by lixiaofang's avatar lixiaofang

add

parent 6ff3a5d1
...@@ -178,6 +178,11 @@ def pictorial_topic(topic_id=-1, offset=0, size=10): ...@@ -178,6 +178,11 @@ def pictorial_topic(topic_id=-1, offset=0, size=10):
"is_deleted": False "is_deleted": False
} }
}, },
{
"term": {
"is_cover": True
}
}
] ]
} }
...@@ -191,7 +196,7 @@ def pictorial_topic(topic_id=-1, offset=0, size=10): ...@@ -191,7 +196,7 @@ def pictorial_topic(topic_id=-1, offset=0, size=10):
"order": "desc" "order": "desc"
} }
}, },
{'update_time': { {'update_time': {
'order': 'desc' 'order': 'desc'
} }
...@@ -230,6 +235,10 @@ def pictorial_topic(topic_id=-1, offset=0, size=10): ...@@ -230,6 +235,10 @@ def pictorial_topic(topic_id=-1, offset=0, size=10):
} }
} }
}, {
"term": {
"is_cover": True
}
}] }]
} }
} }
......
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