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
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
: 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
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
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
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
-
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
[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
.
-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
: 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
:
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
: 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
12 matches
Mail list logo