[
https://issues.apache.org/jira/browse/SOLR-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-5300:
----------------------------------------
Description:
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 hexadecimal e.g.
ranges=0-1f4,1f5-3e8,3e9-5dc will split a shard with range 0-1500 into three
shards with ranges [0,500], [501-1000] and [1001-1500] respectively.
was:
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-1f4,1f5-3e8,3e9-5dc will split a shard with range 0-1500 into
three shards with ranges [0,500], [501-1000] and [1001-1500] respectively.
> 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, 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 hexadecimal
> e.g. ranges=0-1f4,1f5-3e8,3e9-5dc 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: [email protected]
For additional commands, e-mail: [email protected]