Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-2658 Adding the fields required by the index-links plugin to the schema

Jorge Luis Betancourta5df63a3d644
diff --git a/conf/schema.xml b/conf/schema.xml
index 2b095e59d..57a44ac1d 100644
--- a/conf/schema.xml
+++ b/conf/schema.xml
@@ -398,6 +398,10 @@
<field name="lastModified" type="date" stored="true" indexed="false"/>
<field name="date" type="tdate" stored="true" indexed="true"/>
+ <!-- fields for index-links -->
+ <field name="inlinks" type="url" stored="true" indexed="true" multiValued="true"/>
+ <field name="outlinks" type="url" stored="true" indexed="true" multiValued="true"/>
+
<!-- fields for languageidentifier plugin -->
<field name="lang" type="string" stored="true" indexed="true"/>