[ https://issues.apache.org/jira/browse/SOLR-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777407#comment-13777407 ]
Markus Jelsma commented on SOLR-4221: ------------------------------------- Ah, i come from SOLR-5261 and noticed the discussion here so i'll comment here as well. The stack trace i posted earlier is gone now and is replaced by the trace below. This only happens if a new SolrJ attempts to talk to a slightly older cluster. {code} java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map at org.apache.solr.common.cloud.DocRouter.getRouteField(DocRouter.java:54) at org.apache.solr.common.cloud.CompositeIdRouter.sliceHash(CompositeIdRouter.java:64) at org.apache.solr.common.cloud.HashBasedRouter.getTargetSlice(HashBasedRouter.java:33) at org.apache.solr.client.solrj.request.UpdateRequest.getRoutes(UpdateRequest.java:190) at org.apache.solr.client.solrj.impl.CloudSolrServer.directUpdate(CloudSolrServer.java:313) at org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:506) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117) {code} > Custom sharding > --------------- > > Key: SOLR-4221 > URL: https://issues.apache.org/jira/browse/SOLR-4221 > Project: Solr > Issue Type: New Feature > Reporter: Yonik Seeley > Assignee: Noble Paul > Fix For: 4.5, 5.0 > > Attachments: SOLR-4221.patch, SOLR-4221.patch, SOLR-4221.patch, > SOLR-4221.patch, SOLR-4221.patch, SOLR-4221.patch, SOLR-4221.patch, > SOLR-4221.patch > > > Features to let users control everything about sharding/routing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org