solr4 - Solr 4.6.1 Number format exception while adding records -


I get the following exception after migrating from Solr 4.4.1 to Solar 4.6.1. The schema area declares ca_xyz as 'tlong'.

Here is the schema definition of ca_xyz

  & lt; Field name = "ca_xyz" type = "double" indexed = "true" stored = "true" /> & Lt; FieldType name = "double" class = "solr.TrieDoubleField" exact step = "0" omitNorms = "true" positionIncrementGap = "0" /> org.apache.solr.common.SolrException: error: [Doc = CA: 86] Error connecting area 'ca_xyz' = 'java.math.BigDecimal: +1 9 12 9 57 9 86' msg = input string: "JavakmathkBigDecimal: +1 9 12 9 57 9 86 "org.apache.solr.update.DirectUpdateHandler2 on org.apache.solr.update.DocumentBuilder.toDocument (DocumentBuilder.java:167) org.apache.solr.update.AddUpdateCommand.getLuceneDocument (AddUpdateCommand.java:77). On adddoc org.apache.solr.update.processor.UpdateRequestProcessor.processAdd (UpdateRequestProcessor.java:51) on org.apache.solr.update.processor.RunUpdateProcessor.processAdd (RunUpdateProcessorFactory.java:69) (DirectUpdateHandler2.java: 215) but the update processor distributed on Org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd (org.apache.solr.update.processor). Received Teide 71. Add Vitritutpadprasnskrnkvijn (Distributed Apdetprosesrkjawaः 707) on org.apache.solr.update. Processor.DistributedUpdateProcessor.processAdd (Distributed org.apache.solr.update.processor.LogUpdateProcessor.processAdd UpdateProcessor.java:437) (org.apache.solr.update.PeerSync.handleUpdates at LogUpdateProcessorFactory.java:100) (PeerSync.java : 496) .solr.update.PeerSync.handleResponse on org.apache (PeerSync.java:327) org.apache.solr.update.PeerSync.sync (PeerSync.java:252) org.apache.solr.cloud.RecoveryStrategy. on doRecovery (RecoveryStrategy.java: java.lang.NumberFormatException java.lang.NumberFormatException: 391) for the input string because of org.apache.solr.cloud.RecoveryStrategy.run (RecoveryStrategy.java:247) :: "+1 9 12 9 57 9 86 java.math.BigDecimal" .infoString (numberFormatException.java:65) on java.lang.Long.parseLong (long.java:441) on java.lang.Long.parseLong (long.javaache83) org.apache. On solr.schema.TrieField createField on org.apache.solr.schema.TrieField.createFields (TrieField.java:650) on Org.apache.solr.update.D (TrieField.java Letter 99) Org.apache.solr.update.DocumentBuilder.toDocument (DocumentBuilder .java: 118) ocumentBuilder.addField (DocumentBuilder.java:47)  


Comments