Commit ed9064bd authored by 黄凯's avatar 黄凯

Merge branch 'hk' into 'test'

fix bug

See merge request alpha/physical!355
parents d4f2e04c b02e7e04
......@@ -354,7 +354,7 @@ class TopicUtils(object):
q = dict()
q["query"] = {
"term": {
"id": user_id
"user_id": user_id
}
}
......
......@@ -35,6 +35,7 @@ def query_tag(query,offset,size):
"prefix":query,
"completion":{
"field":"suggest",
"size":size,
"contexts":{
"is_online": [True],
"is_deleted": [False]
......
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