lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanmugavel SRD <srdshanmuga...@gmail.com>
Subject DateFormatTransformer issue with value 0000-00-00T00:00:00Z
Date Tue, 16 Nov 2010 12:41:18 GMT

Hi,
   I am having a field as below in my feed.
<field name="published_from_dt">0000-00-00T00:00:00Z</field>

   I have configured the field as below in data-config.xml.
<field column="published_from_dt"
xpath="/add/doc/field[@name='published_from_dt']"
dateTimeFormat="yyyy-MM-dd'T'hh:mm:ss'Z'" /> 

   But after indexing, the field value becomes like this
<date name="published_from_dt">0002-11-30T00:00:00Z</date>

   I want to have the value as '0000-00-00T00:00:00Z' after indexing also.
Could anyone help on this? 

PS: I am using solr 1.4.1
-- 
View this message in context: http://lucene.472066.n3.nabble.com/DateFormatTransformer-issue-with-value-0000-00-00T00-00-00Z-tp1910644p1910644.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message