|
@@ -1408,7 +1408,7 @@ public class VideoSearchServiceImpl implements VideoSearchService {
|
|
|
matchParam.setQueryVector(param.getQueryVector());
|
|
matchParam.setQueryVector(param.getQueryVector());
|
|
|
matchParam.setTopN(param.getTopN() != null && param.getTopN() > 0 ? param.getTopN() : 10);
|
|
matchParam.setTopN(param.getTopN() != null && param.getTopN() > 0 ? param.getTopN() : 10);
|
|
|
|
|
|
|
|
- List<VideoMatchResult> rawMatches = matchTopNVideo(matchParam, false);
|
|
|
|
|
|
|
+ List<VideoMatchResult> rawMatches = matchTopNVideo(matchParam, true);
|
|
|
if (rawMatches == null || rawMatches.isEmpty()) {
|
|
if (rawMatches == null || rawMatches.isEmpty()) {
|
|
|
log.info("recallWithScore: 召回结果为空");
|
|
log.info("recallWithScore: 召回结果为空");
|
|
|
return emptyScoreResult(alpha, rovP95, rovP5, simMin);
|
|
return emptyScoreResult(alpha, rovP95, rovP5, simMin);
|