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] Trivial Update of "NewSolrCloudDesign" by YonikSeeley
Date Thu, 18 Aug 2011 15:53:18 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=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 ==
  

Mime
View raw message