Commit ee94e1a9 authored by Kai's avatar Kai

update

parent 49a7bf9d
...@@ -417,7 +417,11 @@ class ESPerform(object): ...@@ -417,7 +417,11 @@ class ESPerform(object):
{"_score": {"order": "desc"}}, {"_score": {"order": "desc"}},
{"create_time_val": {"order": "desc"}}, {"create_time_val": {"order": "desc"}},
{"language_type": {"order": "asc"}}, {"language_type": {"order": "asc"}},
] ],
"collapse": {
"field": "user_id"
}
} }
if len(have_read_topic_id_list) > 0: if len(have_read_topic_id_list) > 0:
q["query"]["function_score"]["query"]["bool"]["must_not"] = { q["query"]["function_score"]["query"]["bool"]["must_not"] = {
......
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