Authored by hugufei

新品、新降价、新开促销全部改为随机召回,保证skn出现的公平性

... ... @@ -2,7 +2,6 @@ package com.yoho.search.recall.scene.beans.strategy;
public enum SortBrandType {
REC_SORT_BRAND,
PRED_SORT_BRAND,
VEC_RNN_SORT_BRAND,
VEC_W2V_SORT_BRAND
}
... ...
... ... @@ -32,7 +32,7 @@ public class SortBrandNewShelveStrategy extends SortBrandAbstractStrategy {
@Override
public SortBuilder<?> sortBuilder() {
return SortBuilderHelper.getFirstShelveTimeDescSort();
return SortBuilderHelper.getRandomSort();
}
}
... ...
... ... @@ -32,7 +32,7 @@ public class SortBrandReducePriceStrategy extends SortBrandAbstractStrategy {
@Override
public SortBuilder<?> sortBuilder() {
return SortBuilderHelper.getLastReducePriceTimeDescSort();
return SortBuilderHelper.getRandomSort();
}
}
... ...
... ... @@ -16,8 +16,8 @@ public class SknCountConstants {
public static final int NEW_SHOP = 5;//减少10->5
public static final int ADD_FLOW = 10;
public static final int REC_SORT_BRAND_SKN_COUNT = 8;
public static final int VEC_SORT_BRAND_SKN_COUNT = 4;//8->4
public static final int REC_SORT_BRAND_SKN_COUNT = 6;
public static final int VEC_SORT_BRAND_SKN_COUNT = 3;
public static final int MAX_USER_RECALL_SKN_CACHE_COUNT = 200;
... ...