RE: Re: solr.DateField: org.apache.solr.common.SolrException: Error while creating field

2010-09-14 Thread Dennis Gearon
> 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

Re: solr.DateField: org.apache.solr.common.SolrException: Error while creating field

2010-09-14 Thread Erick Erickson
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

RE: Re: solr.DateField: org.apache.solr.common.SolrException: Error while creating field

2010-09-14 Thread Markus Jelsma
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: >

Re: solr.DateField: org.apache.solr.common.SolrException: Error while creating field

2010-09-14 Thread Yonik Seeley
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 -

solr.DateField: org.apache.solr.common.SolrException: Error while creating field

2010-09-14 Thread h00kpub...@gmail.com
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