You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by ma...@apache.org on 2011/05/05 15:48:57 UTC
svn commit: r1099802 - in /nutch/trunk: CHANGES.txt conf/schema.xml
Author: markus
Date: Thu May 5 13:48:56 2011
New Revision: 1099802
URL: http://svn.apache.org/viewvc?rev=1099802&view=rev
Log:
NUTCH-989 Index-basic plugin and Solr schema now use date fieldType for tstamp field
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=1099802&r1=1099801&r2=1099802&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Thu May 5 13:48:56 2011
@@ -2,6 +2,8 @@ Nutch Change Log
Release 2.0 - Current Development
+* NUTCH-989 Index-basic plugin and Solr schema now use date fieldType for tstamp field (markus)
+
* NUTCH-888 Remove parse-rss and add tests for rss to parse-tika (jnioche)
* NUTCH-991 SolrDedup must issue a commit (markus)
Modified: nutch/trunk/conf/schema.xml
URL: http://svn.apache.org/viewvc/nutch/trunk/conf/schema.xml?rev=1099802&r1=1099801&r2=1099802&view=diff
==============================================================================
--- nutch/trunk/conf/schema.xml (original)
+++ nutch/trunk/conf/schema.xml Thu May 5 13:48:56 2011
@@ -28,6 +28,8 @@
omitNorms="true"/>
<fieldType name="float" class="solr.FloatField"
omitNorms="true"/>
+ <fieldType name="date" class="solr.DateField"
+ omitNorms="true"/>
<fieldType name="text" class="solr.TextField"
positionIncrementGap="100">
<analyzer>
@@ -71,7 +73,7 @@
<field name="content" type="text" stored="false" indexed="true"/>
<field name="title" type="text" stored="true" indexed="true"/>
<field name="cache" type="string" stored="true" indexed="false"/>
- <field name="tstamp" type="long" stored="true" indexed="false"/>
+ <field name="tstamp" type="date" stored="true" indexed="false"/>
<!-- fields for index-anchor plugin -->
<field name="anchor" type="string" stored="true" indexed="true"