Toggle navigation
Toggle navigation
This project
Loading...
Sign in
yoho-search
/
yoho-search-service
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Gino Zhang
2017-03-20 15:24:34 +0800
Commit
7950e60619520abf69a13bb3802fcc8a3bbecac7
1 parent
e112c6cd
搜索提示词增加拼写检查 避免重复
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
service/src/main/java/com/yoho/search/service/servicenew/impl/SuggestServiceImpl.java
service/src/main/java/com/yoho/search/service/servicenew/impl/SuggestServiceImpl.java
View file @
7950e60
...
...
@@ -390,8 +390,10 @@ public class SuggestServiceImpl implements ISuggestService, ApplicationEventPubl
break
;
}
if
(!
correnctSpellingKeyword
.
equalsIgnoreCase
(
item
)){
newResultTerms
.
add
(
item
);
}
}
return
newResultTerms
;
}
...
...
Please
register
or
login
to post a comment