[jira] [Commented] (SOLR-4221) Custom sharding

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (SOLR-4221) Custom sharding

JIRA jira@apache.org

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

Yonik Seeley commented on SOLR-4221:

bq. Do we really need to have so many configuration params and complicate this?

Eh, you replaced one parameter (a minimum replication factor to achieve) with another (a boolean meaning 0 or replicationFactor).
This seems akin to facet.includeZeros vs facet.minCount... the latter incorporates the former and is more powerful (hence fewer parameters in the long run), and the former would have never existed if the latter had been thought of first.

Now, I don't like the name "createReplictionFactor" (maybe "minReplicas" or something like that would be better), but the functionality is a superset of  "forceCreate" and is more descriptive (after all, there are many ways to force things).  It also seems useful to say something like "create this collection and make sure it's usable (at least one replica for every shard) but don't worry about trying to satisfy the replciationFactor just yet).  That would be minReplicas=1

> 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
>         Attachments: 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: [hidden email]
For additional commands, e-mail: [hidden email]