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

Shreejay commented on SOLR-2592:
--------------------------------

{quote}Right - I've made good progress on that front in trunk, and we'll figure 
out how to get it ported back to 4x. I'm in the process of adding more tests 
right now.
The separator: I went with "!" by default since it doesn't require URL 
encoding, but is less common than underscore. It also reminded me of the bang 
paths of old-style UUCP email addresses (like bigco!user).{quote}

Can the separator be provided as an option instead of being hard coded? I have 
been using Michaels patch and now I am trying to move to 4.1. But I will have 
to re-index all my data by changing the unique key, which right now contains a 
underscore. 

If not, will changing the separator to a underscore in CompositeIdRouter.java 
be enough? 


--Shreejay
                
> Custom Hashing
> --------------
>
>                 Key: SOLR-2592
>                 URL: https://issues.apache.org/jira/browse/SOLR-2592
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>    Affects Versions: 4.0-ALPHA
>            Reporter: Noble Paul
>            Assignee: Yonik Seeley
>             Fix For: 4.1
>
>         Attachments: dbq_fix.patch, pluggable_sharding.patch, 
> pluggable_sharding_V2.patch, SOLR-2592_collectionProperties.patch, 
> SOLR-2592_collectionProperties.patch, SOLR-2592.patch, 
> SOLR-2592_progress.patch, SOLR-2592_query_try1.patch, 
> SOLR-2592_r1373086.patch, SOLR-2592_r1384367.patch, SOLR-2592_rev_2.patch, 
> SOLR_2592_solr_4_0_0_BETA_ShardPartitioner.patch
>
>
> If the data in a cloud can be partitioned on some criteria (say range, hash, 
> attribute value etc) It will be easy to narrow down the search to a smaller 
> subset of shards and in effect can achieve more efficient search.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to