|
|
@@ -607,7 +607,8 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
|
return gzhPlanMapper.selectByExample(example);
|
|
|
}
|
|
|
|
|
|
- private static final int RECOMMEND_CANDIDATE_LIMIT = 500;
|
|
|
+ private static final int DEMAND_CANDIDATE_LIMIT = 2000;
|
|
|
+ private static final int HOT_CANDIDATE_LIMIT = 10000;
|
|
|
private static final String DEMAND_STRATEGY_PRIOR = "先验需求";
|
|
|
private static final String DEMAND_STRATEGY_POSTERIOR = "后验需求";
|
|
|
private static final String SOURCE_PRIOR = "prior";
|
|
|
@@ -732,9 +733,9 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
|
* 缺路顺位补;先到先得(顺序:prior > posterior > hot)。
|
|
|
*/
|
|
|
private Page<VideoContentItemVO> getInterleavedPage(VideoContentListParam param, ContentPlatformAccount user) {
|
|
|
- List<VideoContentItemVO> prior = fetchPriorCandidates(user, RECOMMEND_CANDIDATE_LIMIT);
|
|
|
- List<VideoContentItemVO> posterior = fetchPosteriorCandidates(user, RECOMMEND_CANDIDATE_LIMIT);
|
|
|
- List<VideoContentItemVO> hot = fetchHotCandidates(param, user, RECOMMEND_CANDIDATE_LIMIT);
|
|
|
+ List<VideoContentItemVO> prior = fetchPriorCandidates(user, DEMAND_CANDIDATE_LIMIT);
|
|
|
+ List<VideoContentItemVO> posterior = fetchPosteriorCandidates(user, DEMAND_CANDIDATE_LIMIT);
|
|
|
+ List<VideoContentItemVO> hot = fetchHotCandidates(param, user, HOT_CANDIDATE_LIMIT);
|
|
|
for (VideoContentItemVO v : prior) v.setSource(SOURCE_PRIOR);
|
|
|
for (VideoContentItemVO v : posterior) v.setSource(SOURCE_POSTERIOR);
|
|
|
for (VideoContentItemVO v : hot) v.setSource(SOURCE_HOT);
|