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