[ https://issues.apache.org/jira/browse/SOLR-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777141#comment-13777141 ]
Noble Paul commented on SOLR-4221: ---------------------------------- [~yo...@apache.org] I don't think we can fix this in a a backcompat manner if we reuse the name router and change the Object type. There will be atleast one node in the cluster which will have the old binaries and will expect the router instanceof String. the new binaries will keep writing router as Map. The backward compatible solution would be to choose another name say "route" and if the 'router' value is missing, the old binaries would not complain > 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