Commit 70343f0a authored by 段英荣's avatar 段英荣

modify

parent 20e75e5e
......@@ -19,13 +19,11 @@ def get_suggest_tips(query,lat,lng,offset=0,size=100):
"tips-suggest": {
"prefix": query,
"completion": {
"field": "suggest"
"field": "suggest",
"size":size
}
}
},
"sort": [
{"offline_score": {"order": "desc"}}
],
"_source": {
"include": ["id", "ori_name", "offline_score", "is_online","type_flag","results_num"]
}
......
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