|
@@ -60,12 +60,10 @@ public class UserDeconstructionKeywordsRecallStrategy implements RecallStrategy
|
|
|
List<Long> vids = this.recall(param.getVideoId(), values);
|
|
List<Long> vids = this.recall(param.getVideoId(), values);
|
|
|
FilterParam filterParam = FilterParamFactory.create(param, vids);
|
|
FilterParam filterParam = FilterParamFactory.create(param, vids);
|
|
|
|
|
|
|
|
- log.info("deconstruction keywords recall filter before: {}", vids);
|
|
|
|
|
FilterResult filterResult = filterService.filter(filterParam);
|
|
FilterResult filterResult = filterService.filter(filterParam);
|
|
|
if (Objects.isNull(filterResult) || CollectionUtils.isEmpty(filterResult.getVideoIds())) {
|
|
if (Objects.isNull(filterResult) || CollectionUtils.isEmpty(filterResult.getVideoIds())) {
|
|
|
return videos;
|
|
return videos;
|
|
|
}
|
|
}
|
|
|
- log.info("deconstruction keywords recall filter before: {}", filterResult.getVideoIds());
|
|
|
|
|
List<Long> filterIds = filterResult.getVideoIds();
|
|
List<Long> filterIds = filterResult.getVideoIds();
|
|
|
|
|
|
|
|
int n = filterIds.size();
|
|
int n = filterIds.size();
|