I logged an issue in Jira that relates to this and it looks like Yonik picked
it up.
https://issues.apache.org/jira/browse/SOLR-2286
Adam
On Feb 22, 2011, at 9:07 AM, MOuli wrote:
>
> Ok i got it.
>
> It should look like -mm-ddThh:mm:ssZ
> for example: 2011-02-22T15:07:00Z
> --
> View
Ok i got it.
It should look like -mm-ddThh:mm:ssZ
for example: 2011-02-22T15:07:00Z
--
View this message in context:
http://lucene.472066.n3.nabble.com/Datetime-problems-with-dataimport-tp2545654p2552477.html
Sent from the Solr - User mailing list archive at Nabble.com.
Can you give me an example?
Should it looks like 2011-02-22'T'14:55:20 or 2011-02-22T14:55:20 or
2011-02-22 14:55:20. I tested every one of this formats, but got anyway the
Exception.
Invalid Date String:'2009-12-09'T'00:00:00'
Invalid Date String:'2009-12-09 00:00:00'
Invalid Date String:'2009-
B@1266f55
It looks like you are using MySQL.
The data field needs to be in -MM-dd'T'hh:mm:ss format.
I would probably concert datetime in Mysql to varchar() in this format.
On 2/21/11 8:40 AM, "MOuli" wrote:
>
>Hey guys.
>
>I want to evaluate Solr as search engine, but now I have got an