Author: mattmann
Date: Sun Jan  4 20:36:26 2015
New Revision: 1649412

URL: http://svn.apache.org/r1649412
Log:
Fix for NUTCH-1904 Schema for Solr4 doesn't include _version_ field.

Modified:
    nutch/trunk/CHANGES.txt
    nutch/trunk/conf/schema-solr4.xml

Modified: nutch/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/nutch/trunk/CHANGES.txt?rev=1649412&r1=1649411&r2=1649412&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Sun Jan  4 20:36:26 2015
@@ -2,6 +2,8 @@ Nutch Change Log
 
 Nutch Current Development 1.10-SNAPSHOT
 
+* NUTCH-1904 Schema for Solr4 doesn't include _version_ field (mattmann)
+
 * NUTCH-1897 Easier debugging of plugin XML errors (markus)
 
 * NUTCH-1823 Upgrade to elasticsearch 1.4.1 (Phu Kieu, markus via lewismc)

Modified: nutch/trunk/conf/schema-solr4.xml
URL: 
http://svn.apache.org/viewvc/nutch/trunk/conf/schema-solr4.xml?rev=1649412&r1=1649411&r2=1649412&view=diff
==============================================================================
--- nutch/trunk/conf/schema-solr4.xml (original)
+++ nutch/trunk/conf/schema-solr4.xml Sun Jan  4 20:36:26 2015
@@ -302,6 +302,7 @@
 
  <fields>
     <field name="id" type="string" stored="true" indexed="true" 
required="true"/>
+    <field name="_version_" type="long" indexed="true" stored="true"/>
 
     <!-- core fields -->
     <field name="segment" type="string" stored="true" indexed="false"/>


Reply via email to