Skip to content

ZRANK/ZREVRANK ability to return "unique" rank. - #9627

Open
huangzhw wants to merge 3 commits into
redis:unstablefrom
huangzhw:zrank_unique
Open

huangzhw wants to merge 3 commits into
redis:unstablefrom
huangzhw:zrank_unique

Conversation

@huangzhw

@huangzhw huangzhw commented Oct 11, 2021 •

Copy link
Copy Markdown
Contributor

Closes #943.
Add option unique to make ZRANK/ZREVRANK get the rank without counting
all the duplicated entries with the same score.

Add option unique to make ZRANK/ZREVRANK get the rank without counting
all the duplicated entries with the same score.
Comment thread src/t_zset.c Resolved
Comment thread src/t_zset.c Resolved
Comment thread src/t_zset.c Resolved

@hpatro hpatro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we update the PR to fix the arity in the zrank.json file ?

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

ZRANK ability to return "unique" rank

5 participants