: 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
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
--- 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
: 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
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
> 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