Skip to content

Commit 2ef8512

Browse files
committed
Apply review comments + some other fixes
1 parent 98379b3 commit 2ef8512

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

content/commands/bf.add.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ redis> BF.ADD bf item1
6565
tab2="RESP3" >}}
6666

6767
One of the following:
68-
* [Integer reply](../../develop/reference/protocol-spec#integers): `1` for successfully adding an item, or `0` if there's a probability that the item was already added to the filter.
69-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, wrong key type, or when the filter is full.
68+
* [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}): `1` for successfully adding an item, or `0` if there's a probability that the item was already added to the filter.
69+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, wrong key type, or when the filter is full.
7070

7171
-tab-sep-
7272

7373
One of the following:
74-
* [Boolean reply](../../develop/reference/protocol-spec#booleans): `true` for successfully adding an item, or `false` if there's a probability that the item was already added to the filter.
75-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, wrong key type, or when the filter is full.
74+
* [Boolean reply]({{< relref "/develop/reference/protocol-spec#booleans" >}}): `true` for successfully adding an item, or `false` if there's a probability that the item was already added to the filter.
75+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, wrong key type, or when the filter is full.
7676

7777
{{< /multitabs >}}

content/commands/bf.card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Note: when `key` exists, `BF.CARD` returns the same value as `BF.INFO key ITEMS`
6868

6969
One of the following:
7070
* [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}): the number of items detected as unique that were added to the Bloom filter (items that caused at least one bit to be set in at least one sub-filter), or `0` when the given `key` does not exist.
71-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, wrong key type, or when the filter is full.
71+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, wrong key type, or when the filter is full.
7272

7373
Note: when `key` exists, `BF.CARD` returns the same value as `BF.INFO key ITEMS`.
7474
{{< /multitabs >}}

content/commands/bf.exists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ redis> BF.EXISTS bf item2
6767

6868
One of the following:
6969
* [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}): `1` means that, with high probability, `item` was already added to the filter, and `0` means that either the `key` does not exist or that the `item` had not been added to the filter.
70-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) if invalid arguments are passed.
70+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) if invalid arguments are passed.
7171

7272
-tab-sep-
7373

7474
One of the following:
7575
* [Boolean reply]({{< relref "/develop/reference/protocol-spec#booleans" >}}): `true` means that, with high probability, `item` was already added to the filter, and `false` means that either `key` does not exist or that `item` had not been added to the filter.
76-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) if invalid arguments are passed or `key` is not of the correct type.
76+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) if invalid arguments are passed or `key` is not of the correct type.
7777

7878
{{< /multitabs >}}

content/commands/bf.insert.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ One of the following: where each element is one of these options:
148148
* [Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}), where each element is one of the following options:
149149
* [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}) `1` for successfully adding an item, or `0` if there's a probability that the item was already added to the filter.
150150
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings">}}) when the item cannot be added because the filter is full.
151-
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings">}}) when the number of arguments or key type is wrong, and also when `NOCREATE` is specified and `key` does not exist.
151+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors">}}) when the number of arguments or key type is wrong, and also when `NOCREATE` is specified and `key` does not exist.
152152

153153
-tab-sep-
154154

155155
One of the following: where each element is one of these options:
156156
* [Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}), where each element is one of the following options:
157157
* [Boolean reply]({{< relref "/develop/reference/protocol-spec#booleans" >}}) `true` for successfully adding an item, or `false` if there's a probability that the item was already added to the filter.
158158
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings">}}) when the item cannot be added because the filter is full.
159-
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings">}}) when the number of arguments or key type is wrong, and also when `NOCREATE` is specified and `key` does not exist.
159+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors">}}) when the number of arguments or key type is wrong, and also when `NOCREATE` is specified and `key` does not exist.
160160

161161
{{< /multitabs >}}

content/commands/bf.loadchunk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ See [`BF.SCANDUMP`]({{< relref "commands/bf.scandump/" >}}) for an example.
7373

7474
One of the following:
7575
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): `OK` if executed correctly.
76-
* [Simple error]({{< relref "/develop/reference/protocol-spec#simple-errors">}}) in these cases: invalid arguments, wrong key type, or when invalid data was passed.
76+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, wrong key type, or when invalid data was passed.
7777

7878
-tab-sep-
7979

8080
One of the following:
8181
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): `OK` if executed correctly.
82-
* [Simple error]({{< relref "/develop/reference/protocol-spec#simple-errors">}}) in these cases: invalid arguments, wrong key type, or when invalid data was passed.
82+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, wrong key type, or when invalid data was passed.
8383

8484
{{< /multitabs >}}

content/commands/bf.mexists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ redis> BF.MEXISTS bf item1 item2 item3
7070

7171
One of the following:
7272
* [Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}) of [integer replies]({{< relref "/develop/reference/protocol-spec#integers" >}}), where `1` means that, with high probability, `item` was already added to the filter, and `0` means that `key` does not exist or that `item` was definitely not added to the filter.
73-
* [Simple error] in these cases: in these cases: invalid arguments, wrong key type, or when the key was not found.
73+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: in these cases: invalid arguments, wrong key type, or when the key was not found.
7474

7575
-tab-sep-
7676

7777
One of the following:
7878
* [Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}) of [boolean replies]({{< relref "/develop/reference/protocol-spec#booleans" >}}), where `true` means that, with high probability, `item` was already added to the filter, and `false` means that `key` does not exist or that `item` was definitely not added to the filter.
79-
* [Simple error]: in these cases: in these cases: invalid arguments, wrong key type, or when the key was not found.
79+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: in these cases: invalid arguments, wrong key type, or when the key was not found.
8080

8181
{{< /multitabs >}}

content/commands/bf.reserve.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ OK
124124
tab2="RESP3" >}}
125125

126126
One of the following:
127-
* [Simple string reply](../../develop/reference/protocol-spec#simple-strings): `OK` if the filter was created successfully.
128-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments or the key already exists.
127+
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): `OK` if the filter was created successfully.
128+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments or the key already exists.
129129

130130
-tab-sep-
131131

132132
One of the following:
133-
* [Simple string reply](../../develop/reference/protocol-spec#simple-strings): `OK` if the filter was created successfully.
134-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments or the key already exists.
133+
* [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): `OK` if the filter was created successfully.
134+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments or the key already exists.
135135

136136
{{< /multitabs >}}

content/commands/bf.scandump.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ for chunk in chunks:
103103
tab2="RESP3" >}}
104104

105105
One of the following:
106-
* [Array reply](../../develop/reference/protocol-spec#arrays): a two-element array of an [Integer reply]({{< relref "/develop/reference/protocol-spec#integers">}}) (_Iterator_) and a [Bulk string reply](../../develop/reference/protocol-spec#bulk-strings) (_Data_).
107-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, the key was not found, or the key is of the wrong type.
106+
* [Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}): a two-element array of an [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}) (_Iterator_) and a [Bulk string reply]({{< relref "/develop/reference/protocol-spec#bulk-strings" >}}) (_Data_).
107+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, the key was not found, or the key is of the wrong type.
108108

109109
The Iterator is passed as input to the next invocation of `BF.SCANDUMP`. If _Iterator_ is 0, then it means iteration has completed.
110110

@@ -113,8 +113,8 @@ The iterator-data pair should also be passed to [`BF.LOADCHUNK`]({{< relref "com
113113
-tab-sep-
114114

115115
One of the following:
116-
* [Array reply](../../develop/reference/protocol-spec#arrays): a two-element array of an [Integer reply]({{< relref "/develop/reference/protocol-spec#integers">}}) (_Iterator_) and a [Bulk string reply](../../develop/reference/protocol-spec#bulk-strings) (_Data_).
117-
* [Simple error reply](../../develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, the key was not found, or the key is of the wrong type.
116+
* [Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}): a two-element array of an [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}) (_Iterator_) and a [Bulk string reply]({{< relref "/develop/reference/protocol-spec#bulk-strings" >}}) (_Data_).
117+
* [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, the key was not found, or the key is of the wrong type.
118118

119119
The Iterator is passed as input to the next invocation of `BF.SCANDUMP`. If _Iterator_ is 0, then it means iteration has completed.
120120

0 commit comments

Comments
 (0)