[ 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-cover-shardrange.patch # DocRouter.Range implements Comparable # Split shard copies the ranges provided, sorts them and checks that they cover the entire hash range # Added a test in ShardSplitTest > 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-cover-shardrange.patch, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org