Authored by hugufei

fix bug

... ... @@ -44,4 +44,5 @@ public abstract class IRecallSknStrategy implements IStrategy {
sb.append(this.skn==null?"0": skn.toString());
return sb.toString();
}
}
... ...
... ... @@ -10,15 +10,13 @@ import com.yoho.search.recall.scene.beans.strategy.StrategyEnum;
*/
public class RealTimeSimilarSknStrategy extends IRecallSknStrategy{
private Integer recommendSkn;
public RealTimeSimilarSknStrategy(Integer recommendSkn) {
super(recommendSkn);
}
@Override
public StrategyEnum strategtEnum() {
return StrategyEnum.REC_SKN;
return StrategyEnum.RT_SIM_SKN;
}
}
... ...
... ... @@ -16,8 +16,6 @@ import org.elasticsearch.search.sort.SortBuilder;
*/
public class RecommendSknStrategy extends IRecallSknStrategy{
private Integer recommendSkn;
public RecommendSknStrategy(Integer recommendSkn) {
super(recommendSkn);
}
... ...