[ 
https://issues.apache.org/jira/browse/SOLR-2402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley resolved SOLR-2402.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

added to /trunk in 1078928

could be merged with 3.x, but lets wait 'till after the pending release

> Add more debug info for DocumentBuilder errors
> ----------------------------------------------
>
>                 Key: SOLR-2402
>                 URL: https://issues.apache.org/jira/browse/SOLR-2402
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: SOLR-2402-doc-builder-error-messages.patch
>
>
> When digging though logs, it is hard to figure out what went wrong with 
> errors like:
> {code}
> 2011-03-04 11:43:52,773 INFO 
> org.apache.solr.update.processor.UpdateRequestProcessor - {} 0 0
> 2011-03-04 11:43:52,773 ERROR org.apache.solr.core.SolrCore - 
> java.lang.NumberFormatException: multiple points
>       at 
> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
>       at java.lang.Float.parseFloat(Float.java:422)
>       at org.apache.solr.schema.TrieField.createField(TrieField.java:512)
>       at org.apache.solr.schema.SchemaField.createField(SchemaField.java:94)
>       at 
> org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:204)
>       at 
> org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:277)
>       at 
> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)
>       at 
> org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:94)
>       at 
> org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:53)
> {code}
> would be nice to know the field name/value and ideally the ID value also.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to