Commit fc00cc9e authored by Matt Mazzola's avatar Matt Mazzola Committed by Matt Mazzola

Update summary comments for SortedSetRangeByScore and SortedSetRangeByScoreWithScores

The comments for these two functions was incorrectly stating that start and stop were 0-based indexes for fetching a fixed number of items. ZRANGEBYSCORE actually takes a min and max value which create a range which an unknown amount of members may qualify.
parent 9a4e4087
......@@ -715,7 +715,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <summary>
/// Returns the specified range of elements in the sorted set stored at key. By default the elements are considered to be ordered from the lowest to the highest score. Lexicographical order is used for elements with equal score.
/// Both start and stop are zero-based indexes, where 0 is the first element, 1 is the next element and so on. They can also be negative numbers indicating offsets from the end of the sorted set, with -1 being the last element of the sorted set, -2 the penultimate element and so on.
/// Start and stop are used to specify the min and max range for score values. Similar to other range methods the values are inclusive.
/// </summary>
/// <returns>list of elements in the specified score range</returns>
/// <remarks>http://redis.io/commands/zrangebyscore</remarks>
......@@ -727,7 +727,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <summary>
/// Returns the specified range of elements in the sorted set stored at key. By default the elements are considered to be ordered from the lowest to the highest score. Lexicographical order is used for elements with equal score.
/// Both start and stop are zero-based indexes, where 0 is the first element, 1 is the next element and so on. They can also be negative numbers indicating offsets from the end of the sorted set, with -1 being the last element of the sorted set, -2 the penultimate element and so on.
/// Start and stop are used to specify the min and max range for score values. Similar to other range methods the values are inclusive.
/// </summary>
/// <returns>list of elements in the specified score range</returns>
/// <remarks>http://redis.io/commands/zrangebyscore</remarks>
......
......@@ -671,7 +671,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <summary>
/// Returns the specified range of elements in the sorted set stored at key. By default the elements are considered to be ordered from the lowest to the highest score. Lexicographical order is used for elements with equal score.
/// Both start and stop are zero-based indexes, where 0 is the first element, 1 is the next element and so on. They can also be negative numbers indicating offsets from the end of the sorted set, with -1 being the last element of the sorted set, -2 the penultimate element and so on.
/// Start and stop are used to specify the min and max range for score values. Similar to other range methods the values are inclusive.
/// </summary>
/// <returns>list of elements in the specified score range</returns>
/// <remarks>http://redis.io/commands/zrangebyscore</remarks>
......@@ -683,7 +683,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <summary>
/// Returns the specified range of elements in the sorted set stored at key. By default the elements are considered to be ordered from the lowest to the highest score. Lexicographical order is used for elements with equal score.
/// Both start and stop are zero-based indexes, where 0 is the first element, 1 is the next element and so on. They can also be negative numbers indicating offsets from the end of the sorted set, with -1 being the last element of the sorted set, -2 the penultimate element and so on.
/// Start and stop are used to specify the min and max range for score values. Similar to other range methods the values are inclusive.
/// </summary>
/// <returns>list of elements in the specified score range</returns>
/// <remarks>http://redis.io/commands/zrangebyscore</remarks>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment