antirez/redis-doc — pull request #68 by aaronblohowiak (2011-10-20 19:54:22+00:00)
Title: ZSET members and scores.

For a long time, I was confused about the uniqueness constraint in ZSETs and the behavior of ZADD. I thought that the *score* must be unique, not the *member*, which is backwards.

I looked over the documentation, and while nothing contradicts the truth, there was no simple statement that scores can be repeated.

I added a sentence to the datatypes explanation and an example to the ZADD command that demonstrates this behavior, and verified that it works without requiring modification to redis-io.