Apache Nutch is an extensible and scalable web crawler
Even if a filter doesn't make any adjustments, each one should still return the input value, which other filters may have modified.
Andrzej Bialecki883f70d90174
diff --git a/src/plugin/scoring-opic/src/java/org/apache/nutch/scoring/opic/OPICScoringFilter.java b/src/plugin/scoring-opic/src/java/org/apache/nutch/scoring/opic/OPICScoringFilter.javaindex b607868b0..2c05c8434 100644--- a/src/plugin/scoring-opic/src/java/org/apache/nutch/scoring/opic/OPICScoringFilter.java+++ b/src/plugin/scoring-opic/src/java/org/apache/nutch/scoring/opic/OPICScoringFilter.java@@ -117,7 +117,7 @@ public class OPICScoringFilter implements ScoringFilter {// XXX (ab) no adjustment? I think this is contrary to the algorithm descr.// XXX in the paper, where page "loses" its score if it's distributed to// XXX linked pages...- return null;+ return adjust;}/** Dampen the boost value by scorePower.*/