RE: Solr: org.apache.solr.common.SolrException: Invalid Date String:

2011-05-06 Thread Chris Hostetter
: Thanks for the response, actually what we need to achive is see group by : results based on dates like, : : 2011-01-01 23 : 2011-01-02 14 : 2011-01-03 40 : 2011-01-04 10 : : Now the records in my table run into millions, grouping the result based on : UTC date would not produce the right r

RE: Solr: org.apache.solr.common.SolrException: Invalid Date String:

2011-05-06 Thread Rohit
Thanks Ahmet, let me give this a shot. Regards, Rohit -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: 06 May 2011 15:39 To: solr-user@lucene.apache.org Subject: RE: Solr: org.apache.solr.common.SolrException: Invalid Date String: --- On Fri, 5/6/11, Rohit

RE: Solr: org.apache.solr.common.SolrException: Invalid Date String:

2011-05-06 Thread Ahmet Arslan
--- On Fri, 5/6/11, Rohit wrote: > From: Rohit > Subject: RE: Solr: org.apache.solr.common.SolrException: Invalid Date String: > To: solr-user@lucene.apache.org > Date: Friday, May 6, 2011, 8:47 AM > Hi Craig, > > Thanks for the response, actually what we need to ach

RE: Solr: org.apache.solr.common.SolrException: Invalid Date String:

2011-05-05 Thread Rohit
: org.apache.solr.common.SolrException: Invalid Date String: Rohit, The solr server using TrieDateField must receive values in the format 2011-01-07T17:00:30Z This should be a UTC-based datetime. The offset can be applied once you get your results back from solr SimpleDateFormat df = new SimpleDateFormat(format

RE: Solr: org.apache.solr.common.SolrException: Invalid Date String:

2011-05-05 Thread Craig Stires
Rohit, The solr server using TrieDateField must receive values in the format 2011-01-07T17:00:30Z This should be a UTC-based datetime. The offset can be applied once you get your results back from solr SimpleDateFormat df = new SimpleDateFormat(format); df.setTimeZone(TimeZone.getTimeZo

Re: Solr: org.apache.solr.common.SolrException: Invalid Date String:

2011-05-05 Thread Ahmet Arslan
> org.apache.solr.common.SolrException: Invalid Date > String:'2011-01-07' at > org.apache.solr.schema.DateField.parseMath(DateField.java:165) Solr accepts date in the following format: 2011-01-07T00:00:00Z > I understand from reading some articles that Solr stores > time only in UTC, > this is t