You might have to do this with an external script. The DIH lets you
process fields with javascript or Groovy.

Also, somewhere in the DIH you can give an XSL stylesheet instead of
just an XPath.

On Thu, Aug 4, 2011 at 10:31 PM, solruser@9913 <gunaranj...@yahoo.com> wrote:
> This is perhaps a 'truly newbie' question.  I am processing some files via
> DIH handler/XPATH Processor.  Some of the date fields in the XML are in
> 'Java Long format' i.e. just a big long number.  I am wondering how to map
> them Solr Date field.  I used the DIH  DateFormatTransformer for some other
> 'date' fields that were written out in a regular date format.
>
> However I am stumped on this - thought it would be simple but I was not able
> to find a solution ....
>
> Any help would be much appreciated
>
> -g
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-DIH-import-Date-Question-tp3227720p3227720.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to