: java.text.ParseException: Unparseable date: "2008-08-06T22:25:36,388Z"
:     at java.text.DateFormat.parse(DateFormat.java:335)
:     at
: org.apache.solr.client.solrj.util.ClientUtils.parseDate(ClientUtils.java:145)
: ...

please post the full stack trace ... it's not even clear from wha you've 
told us wether you aregetting this error when attempting to add a document 
or when searching, and even if it's when searching, it's not clear if this 
error is happening because of a malformed string in the response, or if 
it's attempting to format a Date object you are using as part of the query 
(ie: a facet.date param)

: by a point but, as you can see, the separator is converted to a comma when
: is accesed
: from Solr (i can see this too from Solr web admin)

this boggles my mind ... i can't think of *anything* in Solr that would do 
this .. cna you send out an example of hte raw XML you get when doing a 
simple query using the Solr admin interface, along with the corrisponding 
<field> declaration and <fieldType> declaration (as well as the details of 
which Solr version you are using)

The only thingi can think of is that in Solr 1.1 (and 1.2? can't remember) 
the DateField was completely trusting of it's input, and wouldnt' sanity 
check that it even remotely looked like a date -- so perhaps it wasn't 
actaully formated correctly when it was indexed. (if that's your problem, 
then running the same code against the Solr trunk should cause an error 
when indexing)


-Hoss

Reply via email to