lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "DataImportHandlerFaq" by ShalinMangar
Date Mon, 04 Jan 2010 09:17:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "DataImportHandlerFaq" page has been changed by ShalinMangar.
The comment on this change is: Added workaround for dealing with invalid dates.
http://wiki.apache.org/solr/DataImportHandlerFaq?action=diff&rev1=16&rev2=17

--------------------------------------------------

  
  Note that "convertType" attribute uses the target schema field's type name to convert the
value returned by the result set. Therefore, any transformers being used on the entity should
be aware of the type information.
  
+ === Invalid dates (e.g. "0000-00-00") in my MySQL database cause my import to abort ===
+ Use &zeroDateTimeBehavior=convertToNull parameter in you JDBC connection string to avoid
this.
+ 

Mime
View raw message