Commit b2de49b4 authored by 黄凯's avatar 黄凯

Merge branch 'hk' into 'test'

add topic detail

See merge request alpha/physical!298
parents 530979a6 422942a0
...@@ -220,7 +220,7 @@ class TopicUtils(object): ...@@ -220,7 +220,7 @@ class TopicUtils(object):
{ {
"filter": {"bool": { "filter": {"bool": {
"should": {"term": {"user_id": topic_user_id}}}}, "should": {"term": {"user_id": topic_user_id}}}},
"weight": 5000 "weight": 15000
} }
) )
query_function_score = { query_function_score = {
......
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