|
From: Yonik S. <yo...@ap...> - 2008-03-17 22:01:32
|
On Mon, Mar 17, 2008 at 5:12 PM, Doug Cutting <cu...@ap...> wrote: > Ning Li wrote: > > I changed range to be <long, long> for now. However, a document > > id is of type String, so we have to convert from String to long. It is > > hard if we want to maintain the order of the ids after we convert > > them to longs. > > Right. We need to decide on the bits per point on the ring. Is 64 > enough? Wouldn't 32 bits be more than enough if it's just used for partitioning (as opposed to using it for a unique id)? -Yonik |