Re: Unparseable date

2008-03-11 Thread Chris Hostetter
: I indexed my docs with field : 1995-12-31T23:59:59.000Z : But when i try to search on that field : order_dt:1995-12-31T23:59:59.000Z , : I get an exception : : Mar 11, 2008 4:13:55 PM org.apache.solr.core.SolrException log : SEVERE: org.apache.solr.core.SolrException: Invalid Date : String:'1995-

Re: Unparseable date

2008-03-11 Thread monkins
>> previously indexed doc. To work arround this you may need to reindex >> all of your docs with those optional milliseconds. > > Ah, re-indexing now. Thanks for your help! > > / d > > -- View this message in context: http://www.nabble.com/Unparseable-date-tp15854401p15994506.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
On Mar 5, 2008, at 11:08 PM, Chris Hostetter wrote: It's ".000" not ":00" ... "2008-02-12T15:02:06.000Z" but like i said: that stack trace is odd, the time doesn't seem like it actually comes from any query params, it looks like it's coming from a previously indexed doc. To work arround th

Re: Unparseable date

2008-03-05 Thread Chris Hostetter
: So if I add :00 to every time, it should be fine? : ie : "2008-02-12T15:02:06:00Z" instead of "2008-02-12T15:02:06Z" It's ".000" not ":00" ... "2008-02-12T15:02:06.000Z" but like i said: that stack trace is odd, the time doesn't seem like it actually comes from any query params, it looks like

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
On Mar 5, 2008, at 10:57 PM, Chris Hostetter wrote: : looking at the current code for DateField.toObject(Fieldable) it seems : inheriently broken, attempting to parse a string right after concating 'Z' : on the end even though the parser expects the Z to already be gone -- i'm : not sure ho

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
on log : SEVERE: java.lang.RuntimeException: java.text.ParseException: Unparseable : date: "2008-02-12T15:02:06Z" : at org.apache.solr.schema.DateField.toObject (DateField.java:173) : at org.apache.solr.schema.DateField.toObject (DateFie

Re: Unparseable date

2008-03-05 Thread Chris Hostetter
: looking at the current code for DateField.toObject(Fieldable) it seems : inheriently broken, attempting to parse a string right after concating 'Z' : on the end even though the parser expects the Z to already be gone -- i'm : not sure how this could path could *ever* work, regardless of the i

Re: Unparseable date

2008-03-05 Thread Daniel Andersson
e error message. SEVERE: java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2008-02-12T15:02:06Z" at org.apache.solr.schema.DateField.toObject(DateField.java: 173) Seems to imply that that's all it's getting.. Cheers, Daniel On Mar 5, 2008, at 5:40 PM, Ry

Re: Unparseable date

2008-03-05 Thread Chris Hostetter
.ParseException: Unparseable : date: "2008-02-12T15:02:06Z" : at org.apache.solr.schema.DateField.toObject(DateField.java:173) : at org.apache.solr.schema.DateField.toObject(DateField.java:83) : at org.apache.solr.update.DocumentBuilder.loadStoredFields :

Re: Unparseable date

2008-03-05 Thread Ryan Grange
31T23:59:59Z". Yet I'm getting the following error on SOME queries: Mar 5, 2008 10:32:53 AM org.apache.solr.common.SolrException log SEVERE: java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2008-02-12T15:02:06Z" at org.apache.solr.sche

Unparseable date

2008-03-05 Thread Daniel Andersson
OME queries: Mar 5, 2008 10:32:53 AM org.apache.solr.common.SolrException log SEVERE: java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2008-02-12T15:02:06Z" at org.apache.solr.schema.DateField.toObject(DateField.java: 173) at org.apache.solr.schema.D