Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1439 Define boost field as type float in schema-solr4.xml

Lewis John McGibbney54202bec7e81
diff --git a/CHANGES.txt b/CHANGES.txt
index 637247312..e4c827ae4 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
(trunk) Current Development:
+* NUTCH-1439 Define boost field as type float in schema-solr4.xml (shekhar sharma via lewismc)
+
* NUTCH-1433 Upgrade to Tika 1.2 (jnioche)
* NUTCH-1388 Optionally maintain custom fetch interval despite AdaptiveFetchSchedule (markus)
diff --git a/conf/schema-solr4.xml b/conf/schema-solr4.xml
index 3de21d706..310ee4039 100644
--- a/conf/schema-solr4.xml
+++ b/conf/schema-solr4.xml
@@ -306,7 +306,7 @@
<!-- core fields -->
<field name="segment" type="string" stored="true" indexed="false"/>
<field name="digest" type="string" stored="true" indexed="false"/>
- <field name="boost" type="string" stored="true" indexed="false"/>
+ <field name="boost" type="float" stored="true" indexed="false"/>
<!-- fields for index-basic plugin -->
<field name="host" type="url" stored="false" indexed="true"/>