|
@@ -115,7 +115,7 @@ public class SuggestConvertorService { |
|
@@ -115,7 +115,7 @@ public class SuggestConvertorService { |
115
|
Map<String, Double> matchResult = new HashMap<>();
|
115
|
Map<String, Double> matchResult = new HashMap<>();
|
116
|
for (Map.Entry<String, Set<String>> entry : yohoKeywords.entrySet()) {
|
116
|
for (Map.Entry<String, Set<String>> entry : yohoKeywords.entrySet()) {
|
117
|
double score = getMatchScore(entry.getValue(), contentTokenMap);
|
117
|
double score = getMatchScore(entry.getValue(), contentTokenMap);
|
118
|
- if (score > 0.0F) {
|
118
|
+ if (score > 0.0D) {
|
119
|
matchResult.put(entry.getKey(), score);
|
119
|
matchResult.put(entry.getKey(), score);
|
120
|
}
|
120
|
}
|
121
|
}
|
121
|
}
|
|
@@ -131,7 +131,6 @@ public class SuggestConvertorService { |
|
@@ -131,7 +131,6 @@ public class SuggestConvertorService { |
131
|
}
|
131
|
}
|
132
|
|
132
|
|
133
|
String conversionResult = String.join(",", sortedKeywords);
|
133
|
String conversionResult = String.join(",", sortedKeywords);
|
134
|
- detailMap.put("conversionResult", conversionResult);
|
|
|
135
|
detailMap.put("content", content);
|
134
|
detailMap.put("content", content);
|
136
|
detailMap.put("contentTokenMap", contentTokenMap);
|
135
|
detailMap.put("contentTokenMap", contentTokenMap);
|
137
|
detailMap.put("matchResult", matchResult);
|
136
|
detailMap.put("matchResult", matchResult);
|