In case anyone else runs across this issue, I think we've found a
work-around.

We're seeing the same behavior with Solr 4.6.0 and 4.7.  DataInputHandler
loads documents, but the updates to the replica fail because of the limited
support for the BigDecimal type in SolrCloud.

We've successfully worked around the issue by setting convertType=true in
the DIH config.  This tells DIH to convert the BigDecimal to the supported
Solr type (float, double, etc) defined in your schema.xml for the field
before submitting to Solr.

In my opinion, this is more of a issue with DIH, than SolrCloud.  DIH
shouldn't try to submit the BigDecimal type, if its not well supported by
Solr.  SolrCloud should try to support BigDecimal, but that suggestion has
been pending for a while.

Hope this helps.   

Chris



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Cloud-error-with-shard-update-tp4106260p4123486.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to