[ 
https://issues.apache.org/jira/browse/SOLR-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769685#comment-13769685
 ] 

Noble Paul commented on SOLR-4221:
----------------------------------

Makes sense

when the collection is created let us accept the parameters with the 'router' 
prefix . eg: router.name=implicit&router.field=somefield. So any value that has 
a router prefix will go into the router attribute. we can use it in the future 
for more attributes and even custom attributes for custom routers. eg: 
router.class=my.ClassName&router.attr1=x&router.attr2=y

when it is persisted, it can be

router : {"name":"implicit","field":"somefield"}



                
> 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
>
>
> 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

Reply via email to