If you use DIH with TikaEntityProcessor you get the dates in Solr compatible
format if you use the dates stored in the meta-data.

<dataSource type="BinURLDataSource" name="bin"/>
<entity name="tika" processor="TikaEntityProcessor" url="${crawl.id}"
dataSource="bin" onError="continue" format="text">
    <field column="created" meta="true" name="creation_date"/>                  
                
</entity>



--
View this message in context: 
http://lucene.472066.n3.nabble.com/convert-date-format-at-indexing-time-tp3191078p3209881.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to