> Subject: RE: Re: solr.DateField: org.apache.solr.common.SolrException: Error
> while creating field
> To: solr-user@lucene.apache.org
> Date: Tuesday, September 14, 2010, 2:18 PM
> It would be a nice feature if Solr
> supports queries with time zone support on an index where
> all times a
If you're using Javas SimpleDateFormat, try enclosing your Z in the format
string with single quotes, like:
SimpleDateFormat sdf = new SimpleDateFormat("-MM-dd'T'HH:mm:ss'Z'");
HTH
Erick
On Tue, Sep 14, 2010 at 4:54 PM, h00kpub...@gmail.com <
h00kpub...@googlemail.com> wrote:
> hi... i am u
f yet?
-Original message-
From: Yonik Seeley
Sent: Tue 14-09-2010 22:58
To: solr-user@lucene.apache.org;
Subject: Re: solr.DateField: org.apache.solr.common.SolrException: Error while
creating field
On Tue, Sep 14, 2010 at 4:54 PM, h00kpub...@gmail.com
wrote:
>
On Tue, Sep 14, 2010 at 4:54 PM, h00kpub...@gmail.com
wrote:
> SEVERE: org.apache.solr.common.SolrException: Error while creating field
> 'metadata_last_modified{type=date,properties=indexed,stored,omitNorms}' from
> value '2010-09-14T22:29:24+0200'
Different timezones are currently not allowed -
hi... i am using solr for indexing local files (solrj) and indexing
crawled nutch-documents...
i have configured the fieldtype
and use this type by field
stored="true"/>
the pattern for date is how described in DateField.java:
-MM-dd'T'HH:mm:ssZ
i need this date for sorting my se