Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
search_tips
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
search_tips
Commits
51dc2f26
Commit
51dc2f26
authored
Dec 27, 2019
by
李小芳
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sug_ggod' into 'master'
Sug ggod See merge request
!40
parents
65505254
1c737530
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
auto_tips.py
search/utils/auto_tips.py
+2
-4
No files found.
search/utils/auto_tips.py
View file @
51dc2f26
...
@@ -215,12 +215,10 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50):
...
@@ -215,12 +215,10 @@ def get_suggest_tips(query, lat, lng, offset=0, size=50):
ret_list
.
extend
(
query_ret_list
)
ret_list
.
extend
(
query_ret_list
)
ret_list
.
extend
(
wordresemble_ret_list
)
ret_list
.
extend
(
wordresemble_ret_list
)
###高亮调整
query_ret_list
.
extend
(
wordresemble_ret_list
)
for
ret
in
query_ret_list
:
###高亮调整
for
ret
in
ret_list
:
query2
=
ret
[
"ori_name"
]
query2
=
ret
[
"ori_name"
]
for
item
in
range
(
0
,
len
(
query
)):
for
item
in
range
(
0
,
len
(
query
)):
is_find
=
query2
.
find
(
query
[
item
])
is_find
=
query2
.
find
(
query
[
item
])
high_query
=
None
high_query
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment