|
@@ -124,7 +124,7 @@ public abstract class AbstractRegionRecallStrategy implements RecallStrategy {
|
|
}
|
|
}
|
|
idx += getSize;
|
|
idx += getSize;
|
|
|
|
|
|
- Map<Long, Double> videoMap = new HashMap<>();
|
|
|
|
|
|
+ Map<Long, Double> videoMap = new LinkedHashMap<>();
|
|
for (ZSetOperations.TypedTuple<String> t : data) {
|
|
for (ZSetOperations.TypedTuple<String> t : data) {
|
|
lastVideoId = t.getValue();
|
|
lastVideoId = t.getValue();
|
|
videoMap.put(NumberUtils.toLong(t.getValue(), 0), t.getScore());
|
|
videoMap.put(NumberUtils.toLong(t.getValue(), 0), t.getScore());
|