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

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 wrote: > : The files are attached. > > From the files y

Re: Error indexing "date"

2010-08-03 Thread Chris Hostetter
: The files are attached. >From the files you sent... ...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... : > > > >>> : > > > >>> : > > > >>> : > > > >>>

Re: Error indexing "date"

2010-08-03 Thread Erick Erickson
#x27;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 > &g

Re: Error indexing "date"

2010-08-03 Thread Claudio Devecchi
e. > > > > -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? > &

Re: Error indexing "date"

2010-08-03 Thread Walter Underwood
eving 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 have an idea? > > My field

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&

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

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 wrote: > > : On my xml file the date is on this format:* 2010-07-31T13:37:35:999Z* > > : Jul 28, 2010 11:40:44 PM

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
Hi Michael, My xml have it: 2010-07-31T13:37:35.999Z And in my schema.xml I have it: Tks! On Tue, Aug 3, 2010 at 12:19 PM, Michael Griffiths wrote: > What's your XML data look like (for the data)? > > Looks like it's not the same date format Solr accepts. > > -Original Message- > From

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 everybod