Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Restore accidentally removed file defaults.

Douglass Cuttingc31ac83e6e36
diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index 9202044c0..ac801eaba 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -7,6 +7,28 @@
<configuration>
+<!-- file properties -->
+
+<property>
+ <name>file.content.limit</name>
+ <value>65536</value>
+ <description>The length limit for downloaded content, in bytes.
+ If this value is larger than zero, content longer than it will be
+ truncated; otherwise (zero or negative), no truncation at all.
+ </description>
+</property>
+
+<property>
+ <name>file.content.ignored</name>
+ <value>true</value>
+ <description>If true, no file content will be saved during fetch.
+ And it is probably what we want to set most of time, since file:// URLs
+ are meant to be local and we can always use them directly at parsing
+ and indexing stages. Otherwise file contents will be saved.
+ !! NO IMPLEMENTED YET !!
+ </description>
+</property>
+
<!-- HTTP properties -->
<property>