lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <>
Subject [jira] Created: (SOLR-1898) Improved reporting of exceptions during indexing
Date Fri, 30 Apr 2010 19:58:59 GMT
Improved reporting of exceptions during indexing

                 Key: SOLR-1898
             Project: Solr
          Issue Type: Improvement
            Reporter: Grant Ingersoll

Recently indexing some data where I had mismatched types going in (schema was an int, I was
sending in a float) and got:
Apr 30, 2010 3:48:46 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NumberFormatException: For input string: "0.0"
        at java.lang.NumberFormatException.forInputString(
        at java.lang.Integer.parseInt(
        at java.lang.Integer.parseInt(
        at org.apache.solr.schema.TrieField.createField(

I think our indexing exception handling needs to add at least two things (we also need per
document handling of errors during batch, but that is covered by SOLR-445, see also SOLR-482)
1. If there was an error creating the field, the exception should specify what the field name
2. All document exceptions should, if there is a unique key, report the unique key of the
document that failed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message