Re: Solr Indexing - Null Values in date field

2011-09-24 Thread Erick Erickson
Solr dates are very specific, and your parsing exception is expected. See: http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html Best Erick On Thu, Sep 22, 2011 at 6:28 AM, mechravi25 wrote: > Hi, > > Thanks for the suggestions. This is the option I tried. > > I changed the dat

Re: Solr Indexing - Null Values in date field

2011-09-22 Thread mechravi25
Hi, Thanks for the suggestions. This is the option I tried. I changed the data type in my source to date and then indexed the field once again. for the particular field , in my query in dataimport file, I gave the following condition IFNULL(startdate,NULL). The document was indexed sucessfully

Re: Solr Indexing - Null Values in date field

2011-09-21 Thread Pulkit Singhal
Also you may use the script transformer to explicitly remove the field from the document if the field is null. I do this for all my sdouble and sdate fields ... its a bit manual and I would like to see Solr enhanced to simply skip stuff like this by having a flag for its DIH code but until then it

Re: Solr Indexing - Null Values in date field

2011-09-21 Thread Gora Mohanty
On Wed, Sep 21, 2011 at 4:08 PM, mechravi25 wrote: > Hi, > > I have a field in my source with data type as string and that field has NULL > values. I am trying to index this field in solr as a date data type with > multivalued = true. Following is the entry for that field in my schema.xml [...] O