Skip to content

Commit 71affd0

Browse files
committed
Minor edits to README
1 parent eba0e6c commit 71affd0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ On success, the reply depends on the actual command executed.
7272
7373
Prepends a value to a String key.
7474

75-
If key does not exist it is created and set as an empty string, so PREPEND will be similar to SET in this special case.
75+
If `key` does not exist it is created and set as an empty string, so `PREPEND` will be similar to [`SET`](http://redis.io/commands/set) in this special case.
7676

7777
**Reply:** Integer, the length of the string after the prepend operation.
7878

@@ -88,7 +88,7 @@ optional `charset` may be provided:
8888
* `ALNUM` - letters and digits
8989
* `PUNC` - all printable characters other than alphanumerics
9090
* `HEX` - hexadecimal: a-f, 0-9
91-
* `CURSE` - censored profanity (!@#$%^&?*)
91+
* `CURSE` - censored profanity (!@#$%^&?\*)
9292
* `BINARY` - all characters between 0 and 255
9393
* `READABLE` - letters only, but more pronounceable
9494
* `TEXT` - this is the default, any printable character (union of `ALPHA` + `DIGIT` + `PUNC`)
@@ -234,57 +234,57 @@ Pops the element with the highest score from a Sorted Set.
234234

235235
## `ZADDCAPPED zset cap score member [score member ...]`
236236

237-
> Time complexity: O(N*LogM) where N is the number of elements added and M is the number of elements in the Sorted Set.
237+
> Time complexity: O(N\*LogM) where N is the number of elements added and M is the number of elements in the Sorted Set.
238238
239239
Adds members to a Sorted Set, keeping it at `cap` cardinality. Removes top scoring members as needed to meet the limit.
240240

241241
**Reply:** Integer, the number of members added.
242242

243243
## `ZADDREVCAPPED zset cap score member [score member ...]`
244244

245-
> Time complexity: O(N*LogM) where N is the number of elements added and M is the number of elements in the Sorted Set.
245+
> Time complexity: O(N\*LogM) where N is the number of elements added and M is the number of elements in the Sorted Set.
246246
247247
Adds members to a Sorted Set, keeping it at `cap` cardinality. Removes bottom scoring members as needed to meet the limit.
248248

249249
**Reply:** Integer, the number of members added.
250250

251251
## `MZRANK key ele [ele ...]`
252252

253-
> Time complexity: O(N*LogM) where N is the number of elements passed as arguments to the command and M is the number of elements in the Sorted Set.
253+
> Time complexity: O(N\*LogM) where N is the number of elements passed as arguments to the command and M is the number of elements in the Sorted Set.
254254
255255
A variadic variant for `ZRANK`, returns the ranks of multiple members in a Sorted Set.
256256

257257
**Reply:** Array of Integers.
258258

259259
## `MZREVRANK key ele [ele ...]`
260260

261-
> Time complexity: O(N*LogM) where N is the number of elements passed as arguments to the command and M is the number of elements in the Sorted Set.
261+
> Time complexity: O(N\*LogM) where N is the number of elements passed as arguments to the command and M is the number of elements in the Sorted Set.
262262
263263
A variadic variant for `ZREVRANK`, returns the reverse ranks of multiple members in a Sorted Set.
264264

265265
**Reply:** Array of Integers.
266266

267267
## `MZSCORE key ele [ele ...]`
268268

269-
> Time complexity: O(N*LogM) where N is the number of elements passed as arguments to the command and M is the number of elements in the Sorted Set.
269+
> Time complexity: O(N\*LogM) where N is the number of elements passed as arguments to the command and M is the number of elements in the Sorted Set.
270270
271271
A variadic variant for `ZSCORE`, returns the scores of multiple members in a Sorted Set.
272272

273273
**Reply:** Array of Strings.
274274

275275
## `ZUNIONTOP K numkeys key [key ...] [WEIGHTS weight [weight ...]] [WITHSCORES]`
276276

277-
> Time complexity: O(numkeys*log(N) + K*log(numkeys)) where N is the number of elements in a Sorted Set.
277+
> Time complexity: O(numkeys\*log(N) + K\*log(numkeys)) where N is the number of elements in a Sorted Set.
278278
279-
Union multiple sorted sets with min K elements returned.
279+
Union multiple Sorted Sets and return the `K` elements with lowest scores. Refer to [`ZUNIONSTORE`](http://redis.io/commands/zunionstore)'s documentation for details on using the command.
280280

281281
**Reply:** Array reply, the top k elements (optionally with the score, in case the 'WITHSCORES' option is given).
282282

283283
## `ZUNIONREVTOP K numkeys key [key ...] [WEIGHTS weight [weight ...]] [WITHSCORES]`
284284

285-
> Time complexity: O(numkeys*log(N) + K*log(numkeys)) where N is the number of elements in a Sorted Set.
285+
> Time complexity: O(numkeys\*log(N) + K\*log(numkeys)) where N is the number of elements in a Sorted Set.
286286
287-
Union multiple sorted sets with max K elements returned.
287+
Union multiple Sorted Sets and return the `K` elements with highest scores. Refer to [`ZUNIONSTORE`](http://redis.io/commands/zunionstore)'s documentation for details on using the command.
288288

289289
**Reply:** Array reply, the top k elements (optionally with the score, in case the 'WITHSCORES' option is given).
290290

@@ -294,7 +294,7 @@ This module provides extended Redis Geo Sets commands.
294294

295295
## `GEOCLUSTER geoset radius unit min-points [namespace]`
296296

297-
> Time complexity: O(N*LogN) where N is the number of points in the Geo Set.
297+
> Time complexity: O(N\*LogN) where N is the number of points in the Geo Set.
298298
299299
Density based spatial clustering with random sampling. Creates a set of Geo Sets from `geoset`, each being a cluster.
300300
`radius` is the maximum distance between near neighbours in the cluster, and `min-points` is a cluster's minimum size.

0 commit comments

Comments
 (0)