RE: Error indexing date

2010-08-03 Thread Michael Griffiths
What's your XML data look like (for the data)? Looks like it's not the same date format Solr accepts. -Original Message- From: Claudio Devecchi [mailto:cdevec...@gmail.com] Sent: Tuesday, August 03, 2010 11:16 AM To: solr-user@lucene.apache.org Subject: Error indexing date Hi

Re: Error indexing date

2010-08-03 Thread Claudio Devecchi
Hi Michael, My xml have it: field name=signupdate2010-07-31T13:37:35.999Z/field And in my schema.xml I have it: field name=signupdate type=date indexed=true stored=true required=true / Tks! On Tue, Aug 3, 2010 at 12:19 PM, Michael Griffiths mgriffi...@am-ind.comwrote: What's your XML data

Re: Error indexing date

2010-08-03 Thread Chris Hostetter
: On my xml file the date is on this format:* 2010-07-31T13:37:35:999Z* : Jul 28, 2010 11:40:44 PM org.apache.solr.common.SolrException log : *SEVERE: org.apache.solr.common.SolrException: Invalid Date String:''* According to that error message, you are attempting to index a date field

Re: Error indexing date

2010-08-03 Thread Claudio Devecchi
My field is not empty, I have the date on the field and the error happens, the type to put on schema.xml is date? or have any other? On Tue, Aug 3, 2010 at 2:38 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: : On my xml file the date is on this format:* 2010-07-31T13:37:35:999Z* : Jul

Re: Error indexing date

2010-08-03 Thread Claudio Devecchi
Somebody have an idea? My fields are not null and solr apparently thinks that they are On Tue, Aug 3, 2010 at 2:55 PM, Claudio Devecchi cdevec...@gmail.comwrote: My field is not empty, I have the date on the field and the error happens, the type to put on schema.xml is date? or have any

RE: Error indexing date

2010-08-03 Thread Michael Griffiths
I'd guess the DIH is not extracting the date correctly. Either way, Solr is not retrieving the date. -Original Message- From: Claudio Devecchi [mailto:cdevec...@gmail.com] Sent: Tuesday, August 03, 2010 3:45 PM To: solr-user@lucene.apache.org Subject: Re: Error indexing date Somebody

Re: Error indexing date

2010-08-03 Thread Walter Underwood
- From: Claudio Devecchi [mailto:cdevec...@gmail.com] Sent: Tuesday, August 03, 2010 3:45 PM To: solr-user@lucene.apache.org Subject: Re: Error indexing date Somebody have an idea? My fields are not null and solr apparently thinks that they are On Tue, Aug 3, 2010 at 2:55 PM, Claudio

Re: Error indexing date

2010-08-03 Thread Claudio Devecchi
[mailto:cdevec...@gmail.com] Sent: Tuesday, August 03, 2010 3:45 PM To: solr-user@lucene.apache.org Subject: Re: Error indexing date Somebody have an idea? My fields are not null and solr apparently thinks that they are On Tue, Aug 3, 2010 at 2:55 PM, Claudio Devecchi cdevec...@gmail.com

Re: Error indexing date

2010-08-03 Thread Erick Erickson
. -Original Message- From: Claudio Devecchi [mailto:cdevec...@gmail.com] Sent: Tuesday, August 03, 2010 3:45 PM To: solr-user@lucene.apache.org Subject: Re: Error indexing date Somebody have an idea? My fields are not null and solr apparently thinks that they are On Tue, Aug

Re: Error indexing date

2010-08-03 Thread Chris Hostetter
: The files are attached. From the files you sent... field name=lastsignindate/field ...as i said before... : According to that error message, you are attempting to index a date : field with a value that is an empty string, : : Ie... : : field name=signupdate/field :

Re: Error indexing date

2010-08-03 Thread Claudio Devecchi
yep... do you know how can I do with my schema to some fields dont be necessary? because in some cases it will be null and sometimes not.. but very thanks, now indexed ok with no errors tks On Tue, Aug 3, 2010 at 8:05 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: : The files are

Re: Error indexing date

2010-08-03 Thread Chris Hostetter
: do you know how can I do with my schema to some fields dont be necessary? : because in some cases it will be null and sometimes not.. You can say required=false on fields in your schema.xml -- but that won't change your situation (required=false is actually the default). The problem here