-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
While looking at the source, I noticed that LexoRank.max()
returns the max value for the first bucket and not the max value permissible. I thought maybe this was a bug because the library sets up three buckets. However, the library also can't call LexoRank.between()
with two LexoRank
instances corresponding to different buckets.
I was under the impression buckets were used to expand the range of possible values or possibly to shard values or help out database indices. But, it looks like the only way to get out of BUCKET_0
is to manually create the LexoRank
with a reference to another LexoRankBucket
. Can you please clarify the role buckets play and how they should be used?
marcodallagatta
Metadata
Metadata
Assignees
Labels
No labels