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/05 10:12:43 UTC
[jira] [Updated] (SOLR-5300) Split shards with custom hash ranges
[ https://issues.apache.org/jira/browse/SOLR-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-5300:
----------------------------------------
Attachment: SOLR-5300.patch
A new parameter "ranges" is introduced in split shard action which accepts comma-separated hash ranges in hexadecimal only.
> Split shards with custom hash ranges
> ------------------------------------
>
> Key: SOLR-5300
> URL: https://issues.apache.org/jira/browse/SOLR-5300
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: 5.0, 4.6
>
> Attachments: SOLR-5300.patch
>
>
> Currently, shards can only be split at the mid point of their hash range. This makes it difficult to control the distribution of data in the sub shards.
> We should make it possible to specify ranges to be used for splitting. A ranges parameter can be added which can accept hash ranges in decimal or hexadecimal e.g. ranges=0-0x1f4,0x1f5-0x3e8,0x3e9-0x5dc will split a shard with range 0-1500 into three shards with ranges [0,500], [501-1000] and [1001-1500] respectively.
--
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