...
|
...
|
@@ -146,7 +146,7 @@ public class SearchRecommendServiceImpl implements ISearchRecommendService { |
|
|
return defaultSuggestRecommendation();
|
|
|
}
|
|
|
|
|
|
JSONObject recommendResult = recommendBySuggestIndex(paramMap, keywordsToSearch, dest != null);
|
|
|
JSONObject recommendResult = recommendBySuggestIndex(paramMap, keywordsToSearch, StringUtils.isNotEmpty(dest));
|
|
|
if (recommendResult == null || CollectionUtils.isEmpty((List<?>) recommendResult.get("terms_suggestion"))) {
|
|
|
recommendResult = defaultSuggestRecommendation();
|
|
|
}
|
...
|
...
|
|