That is because it is an illegal ISO 8601 datetime. The seconds portion should 
be "35.999", not "35:999".

wunder

On Aug 3, 2010, at 12:55 PM, Michael Griffiths wrote:

> I'd guess the DIH is not extracting the date correctly.
> 
> Either way, Solr is not retrieving the date.
> 
> -----Original Message-----
> From: Claudio Devecchi [mailto:cdevec...@gmail.com] 
> Sent: Tuesday, August 03, 2010 3:45 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Error indexing "date"
> 
> Somebody have an idea?
> 
> My fields are not null and solr apparently thinks that they are
> 
> On Tue, Aug 3, 2010 at 2:55 PM, Claudio Devecchi <cdevec...@gmail.com>wrote:
> 
>> My field is not empty, I have the date on the field and the error 
>> happens, the type to put on schema.xml is date? or have any other?
>> 
>> 
>> 
>> 
>> On Tue, Aug 3, 2010 at 2:38 PM, Chris Hostetter 
>> <hossman_luc...@fucit.org>wrote:
>> 
>>> 
>>> : On my xml file the date is on this format:* 
>>> 2010-07-31T13:37:35:999Z*
>>> 
>>> : Jul 28, 2010 11:40:44 PM org.apache.solr.common.SolrException log
>>> : *SEVERE: org.apache.solr.common.SolrException: Invalid Date 
>>> String:''*
>>> 
>>> According to that error message, you are attempting to index a date 
>>> field with a value that is an empty string,
>>> 
>>> Ie...
>>> 
>>> <field name="signupdate"></field>
>>> 
>>> ...or perhaps...
>>> 
>>> <field name="signupdate" />
>>> 
>>> (xml makes no distinction)
>>> 
>>> 
>>> 
>>> -Hoss
>>> 
>>> 
>> 
>> 
>> --
>> Claudio Devecchi
>> flickr.com/cdevecchi
>> 
> 
> 
> 
> --
> Claudio Devecchi
> flickr.com/cdevecchi




Reply via email to