...
|
...
|
@@ -8,7 +8,7 @@ import org.elasticsearch.index.query.functionscore.ScoreFunctionBuilders; |
|
|
|
|
|
public class CsBrandKeyWordScorer implements IScorer {
|
|
|
|
|
|
private static final float NEW_PRODUCT_WEIGHT = 10;
|
|
|
private static final float NEW_PRODUCT_WEIGHT = 20;
|
|
|
private String keyword;
|
|
|
|
|
|
public CsBrandKeyWordScorer(String keyword){
|
...
|
...
|
|