Author: mattmann
Date: Fri Sep  5 05:33:14 2014
New Revision: 1622621

URL: http://svn.apache.org/r1622621
Log:
Fix for NUTCH-1835: Nutch's Solr schema doesn't work with Solr 4.9 because of 
the RealTimeGet handler.

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

Modified: nutch/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/nutch/trunk/CHANGES.txt?rev=1622621&r1=1622620&r2=1622621&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Fri Sep  5 05:33:14 2014
@@ -2,6 +2,8 @@ Nutch Change Log
 
 Nutch Current Development
 
+* NUTCH-1835 Nutch's Solr schema doesn't work with Solr 4.9 because of the 
RealTimeGet handler (mattmann)
+
 * NUTCH-1833 Include version number within nutch binary usage statement (Rishi 
Verma via mattmann)
 
 * NUTCH-1832 Make Nutch work without an indexer (mattmann)

Modified: nutch/trunk/conf/schema.xml
URL: 
http://svn.apache.org/viewvc/nutch/trunk/conf/schema.xml?rev=1622621&r1=1622620&r2=1622621&view=diff
==============================================================================
--- nutch/trunk/conf/schema.xml (original)
+++ nutch/trunk/conf/schema.xml Fri Sep  5 05:33:14 2014
@@ -117,6 +117,10 @@
             
         <!-- fields for tld plugin -->    
         <field name="tld" type="string" stored="false" indexed="false"/>
+
+        <!-- to work with Solr 4.9 and beyond that use RealTimeGetHandler -->
+        <field name="_version_" type="long" indexed="true" stored="true"/>
+
     </fields>
     <uniqueKey>id</uniqueKey>
     <defaultSearchField>content</defaultSearchField>


Reply via email to