|
@@ -47,9 +47,9 @@ public class CrawlerDaysDecreaseStrategy implements ScoreStrategy {
|
|
|
}
|
|
|
|
|
|
private Double getContentScore(Content content, long now) {
|
|
|
- double maxReleaseScore = -0.3;
|
|
|
+ double maxReleaseScore = -0.15;
|
|
|
double minScoreDays = 7;
|
|
|
- double maxScoreDays = 120.0;
|
|
|
+ double maxScoreDays = 60.0;
|
|
|
long timestamp = Optional.ofNullable(content.getRootPublishTimestamp()).orElse(content.getCrawlerTimestamp());
|
|
|
int days = (int) ((now - timestamp) / 86400000);
|
|
|
if (days < minScoreDays) {
|