Skip to content

Commit

Permalink
Add link to hash tag page.
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesChen888 committed Mar 1, 2024
1 parent 91e6c3f commit 4304dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions commands/keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Note that when enabling `Redis cluster-mode`, using a pattern with hash tag that
Because any key matching the pattern will be in the same slot.
Redis would only iterate over keys in the slot, rather than the whole database.
For example, with the pattern `{a}h*llo`, Redis would only try to match it with the keys in slot 15495, which hash tag `{a}` implies.
To use pattern with hash tag, see https://redis.io/docs/reference/cluster-spec/#hash-tags for more information.

@examples

Expand Down
1 change: 1 addition & 0 deletions commands/scan.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ Note that when enabling `Redis cluster-mode`, using a pattern with hash tag that
Because any key matching the pattern will be in the same slot.
Redis would only iterate over keys in the slot, rather than the whole database.
For example, with the pattern `{a}h*llo`, Redis would only try to match it with the keys in slot 15495, which hash tag `{a}` implies.
To use pattern with hash tag, see https://redis.io/docs/reference/cluster-spec/#hash-tags for more information.

## The TYPE option

Expand Down

0 comments on commit 4304dad

Please sign in to comment.