Apache Nutch is an extensible and scalable web crawler
NUTCH-872 Change the default fetcher.parse to FALSE.
Andrzej Bialecki2ed2d7b81f50
diff --git a/CHANGES.txt b/CHANGES.txtindex 4a865dae0..7600fe549 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,8 @@ Nutch Change LogRelease 1.3 - Current Development+* NUTCH-872 Change the default fetcher.parse to FALSE (ab)+* NUTCH-564 External parser supports encoding attribute (Antony Bowesman, mattmann)* NUTCH-964 Upgraded Xerces to 2.91, ERROR conf.Configuration - Failed to set setXIncludeAware (markus)diff --git a/conf/nutch-default.xml b/conf/nutch-default.xmlindex 1eeda4c4b..771245467 100644--- a/conf/nutch-default.xml+++ b/conf/nutch-default.xml@@ -653,8 +653,9 @@<property><name>fetcher.parse</name>- <value>true</value>- <description>If true, fetcher will parse content.</description>+ <value>false</value>+ <description>If true, fetcher will parse content. Default is false, which means+ that a separate parsing step is required after fetching is finished.</description></property><property>diff --git a/src/java/org/apache/nutch/fetcher/Fetcher.java b/src/java/org/apache/nutch/fetcher/Fetcher.javaindex 12b0bcdf0..f7f696c83 100644--- a/src/java/org/apache/nutch/fetcher/Fetcher.java+++ b/src/java/org/apache/nutch/fetcher/Fetcher.java@@ -1129,7 +1129,7 @@ public class Fetcher extends Configured implements Tool,Path segment = new Path(args[0]);int threads = getConf().getInt("fetcher.threads.fetch", 10);- boolean parsing = true;+ boolean parsing = false;for (int i = 1; i < args.length; i++) { // parse command lineif (args[i].equals("-threads")) { // found -threads option