: 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 isn't that Solr thinks those fields are "neccessary" the 
problem is that you are sending a string value (the empty string, aka "") 
and asking solr to index it in a date field, but it can't be parsed as a 
date.

if you have documents for which the value is 'null' then the correct 
course of action is to not include that field in your document at all when 
sending it to Solr.


-Hoss

Reply via email to