|
@@ -28,27 +28,20 @@ public class Global24hHotCandidate extends IndexCandidateQueue {
|
|
|
|
|
|
// index key video:queue:type=global24h:region=北京:ordering=rov
|
|
|
QueueName queueName24HGlobal = new QueueName(ItemType, "rov")
|
|
|
- .addMatch("type", "global24h")
|
|
|
- .addMatch("region", region);
|
|
|
+ .addMatch("type", "global24h");
|
|
|
currRecall += addCandidateKey(simplifiedCandidates, queueName24HGlobal, 1, getStrategyQueueInfo().getQueueName());
|
|
|
|
|
|
// index key video:queue:type=global24h:region=北京:ordering=realplay
|
|
|
queueName24HGlobal = new QueueName(ItemType, "realplay")
|
|
|
- .addMatch("type", "global24h")
|
|
|
- .addMatch("region", region);
|
|
|
+ .addMatch("type", "global24h");
|
|
|
currRecall += addCandidateKey(simplifiedCandidates, queueName24HGlobal, 1, getStrategyQueueInfo().getQueueName());
|
|
|
|
|
|
// index key video:queue:type=global24h:region=北京:ordering=str
|
|
|
queueName24HGlobal = new QueueName(ItemType, "str")
|
|
|
- .addMatch("type", "global24h")
|
|
|
- .addMatch("region", region);
|
|
|
+ .addMatch("type", "global24h");
|
|
|
currRecall += addCandidateKey(simplifiedCandidates, queueName24HGlobal, 1, getStrategyQueueInfo().getQueueName());
|
|
|
|
|
|
// index key video:queue:type=global24h:region=北京:ordering=realplay_rate
|
|
|
- queueName24HGlobal = new QueueName(ItemType, "realplay_ratio")
|
|
|
- .addMatch("type", "global24h")
|
|
|
- .addMatch("region", region);
|
|
|
- currRecall += addCandidateKey(simplifiedCandidates, queueName24HGlobal, 1, getStrategyQueueInfo().getQueueName());
|
|
|
|
|
|
|
|
|
candidates.putAll(simplifiedCandidates);
|