Shalin Shekhar Mangar created SOLR-5300:
-------------------------------------------

             Summary: 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


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to