Commit 1c245f8a authored by 段英荣's avatar 段英荣

modify

parent 871c0be6
...@@ -292,6 +292,7 @@ class TopicUtils(object): ...@@ -292,6 +292,7 @@ class TopicUtils(object):
} }
if query is None: if query is None:
q["query"]["function_score"] = query_function_score
q["sort"] = [ q["sort"] = [
# { # {
# "_script": { # "_script": {
......
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