You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2013/10/16 12:30:42 UTC

[jira] [Commented] (SOLR-5356) Let users specify composite Id bit composition in the collection config

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

Shalin Shekhar Mangar commented on SOLR-5356:
---------------------------------------------

What advantage does this offer?

This will severely limit the ability to distribute keys differently. For example if I know that a particular route key 'X' is far more common than route key 'Y' then I can choose to distribute X over 4 shards and distribute 'Y' to 1 shard only by creating the composite ids accordingly.

> Let users specify composite Id bit composition in the collection config
> -----------------------------------------------------------------------
>
>                 Key: SOLR-5356
>                 URL: https://issues.apache.org/jira/browse/SOLR-5356
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Anshum Gupta
>
> Let users specify the number of bits to be used for composite id routing in the config file at collection level instead of having to specify it with each document.
> e.g.: in case the user wants to use the following:
> shardkey/2!documentid
> let the user specify something like "route.bits=2!30" and send documentid as
> shardkey!documentid.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org