Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1583 Headings plugin to support multivalued headings

Markus Jelsma2d3f09422c2c
diff --git a/CHANGES.txt b/CHANGES.txt
index c56ca2b9e..544ac05e1 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
(trunk): Current Development
+* NUTCH-1583 Headings plugin to support multivalued headings (markus)
+
* NUTCH-1245 URL gone with 404 after db.fetch.interval.max stays db_unfetched in CrawlDb (snagel)
* NUTCH-1527 Elasticsearch indexer (lufeng + markus)
diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index d93cfcb57..a6c9e6ac7 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -1463,4 +1463,18 @@
</description>
</property>
+<!-- Headings plugin properties -->
+
+<property>
+ <name>headings</name>
+ <value>h1,h2</value>
+ <description>Comma separated list of headings to retrieve from the document</description>
+</property>
+
+<property>
+ <name>headings.multivalued</name>
+ <value>false</value>
+ <description>Whether to support multivalued headings.</description>
+</property>
+
</configuration>