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

Jessica Cheng commented on SOLR-5300:
-------------------------------------

I see that the current code sanity checks that each supplied sub-ranges is in 
fact a sub-range of the original range--should we also check that the supplied 
sub-ranges actually covers the entire range of the shard?

> 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: 4.6, 5.0
>
>         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]

Reply via email to