lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "NewSolrCloudDesign" by YonikSeeley
Date Tue, 06 Sep 2011 15:17:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "NewSolrCloudDesign" page has been changed by YonikSeeley:
http://wiki.apache.org/solr/NewSolrCloudDesign?action=diff&rev1=11&rev2=12

Comment:
fix shard naming - currently the core name is the collection name

  
  We probably also want to view the hash space as a ring (as is done with consistent hashing)
in order to express ranges that wrap (cross from the maximum value to the minimum value).
  
- === partition naming ===
+ === shard naming ===
- When partitioning is by hash code, rather than maintaining a separate mapping of shard name
(which is currently the actual core name), the shard name could actually be the actual range
of documents within it.  So localhost:8983/solr/1-1000 would contain docs with a hash between
1 and 1000.  This is only necessary for auto-sharding using a hash on the id.  Other custom
mappings should be able to take an id and map it directly to a partition.
+ When partitioning is by hash code, rather than maintaining a separate mapping from shard
to hash range, the shard name could actually be the hash range (i.e. shard "1-1000" would
contain docs with a hashcode between 1 and 1000).
+ 
+ The current convention for solr-core naming is that it match the collection name (assuming
a single core in a solr server for the collection).  We still need a good naming scheme for
when there are multiple cores for the same collection.
  
  == Shard Assignment ==
  

Mime
View raw message