lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: Yet another date format problem
Date Wed, 13 Oct 2010 00:34:19 GMT
>  2007-06-19 09:08:48

Solr's input format is '2007-06-19T09:08:48Z'.
More to the point: you are creating a string and passing that in. The 
date type will accept this, but the DIH has code to accept Java JDBC 
datetime values directly. So, in your select you want to somehow cast 
your field data into your db's actual Date type.

Erick Erickson wrote:
> >  2007-06-19 09:08:48
>    

Mime
View raw message