You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/08/18 17:53:18 UTC

[Solr Wiki] Trivial Update of "NewSolrCloudDesign" by YonikSeeley

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=6&rev2=7

  (hash(user_id)<<24) | (hash(message_id)>>>8)
  }}}
  By deriving the top 8 bits of the hashcode from the user_id, it guarantees that any users emails are in the same 256th portion of the cluster.  At search time, this information can be used to only query that portion of the cluster.
+ 
+ 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).
  
  == Shard Assignment ==