Skip to content

Commit 033763b

Browse files
committed
Applied suggestions from Lior's code review (part 1)
1 parent be535ec commit 033763b

File tree

2 files changed

+14
-15
lines changed
  • content
    • commands/ft.aggregate
    • operate/oss_and_stack/management/security

2 files changed

+14
-15
lines changed

content/commands/ft.aggregate/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ syntax_str: "query [VERBATIM] [LOAD\_count field [field ...]] [TIMEOUT\_timeout]
200200
title: FT.AGGREGATE
201201
---
202202

203-
Run a search query on an index, and perform aggregate transformations on the results, extracting statistics etc from them.
203+
Run a search query on an index and perform aggregate transformations on the results.
204204

205205
{{< note >}}
206-
This command will only return keys that the user has access to.
206+
This command will only return keys to which the user has at least read access.
207207
{{< /note >}}
208208

209209
[Examples](#examples)

content/operate/oss_and_stack/management/security/acl.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ The following is a list of command categories and their meanings:
280280

281281
* **admin** - Administrative commands. Normal applications will never need to use
282282
these. Includes [`REPLICAOF`](/commands/replicaof), [`CONFIG`](/commands/config), [`DEBUG`](/commands/debug), [`SAVE`](/commands/save), [`MONITOR`](/commands/monitor), [`ACL`](/commands/acl), [`SHUTDOWN`](/commands/shutdown), etc.
283-
* **bitmap** - Data type: bitmaps related.
283+
* **bitmap** - Data type: all bitmap related commands.
284284
* **blocking** - Potentially blocking the connection until released by another
285285
command.
286286
* **bloom** - Data type: all Bloom filter related commands.
@@ -292,31 +292,30 @@ The following is a list of command categories and their meanings:
292292
various reasons). This includes [`FLUSHALL`](/commands/flushall), [`MIGRATE`](/commands/migrate), [`RESTORE`](/commands/restore), [`SORT`](/commands/sort), [`KEYS`](/commands/keys),
293293
[`CLIENT`](/commands/client), [`DEBUG`](/commands/debug), [`INFO`](/commands/info), [`CONFIG`](/commands/config), [`SAVE`](/commands/save), [`REPLICAOF`](/commands/replicaof), etc.
294294
* **fast** - Fast O(1) commands. May loop on the number of arguments, but not the number of elements in the key.
295-
* **geo** - Data type: geospatial indexes related.
296-
* **hash** - Data type: hashes related.
297-
* **hyperloglog** - Data type: hyperloglog related.
295+
* **geo** - Data type: all geospatial index related commands.
296+
* **hash** - Data type: all hash related commands.
297+
* **hyperloglog** - Data type: all hyperloglog related commands.
298298
* **json** - Data type: all JSON related commands.
299299
* **keyspace** - Writing or reading from keys, databases, or their metadata
300300
in a type agnostic way. Includes [`DEL`](/commands/del), [`RESTORE`](/commands/restore), [`DUMP`](/commands/dump), [`RENAME`](/commands/rename), [`EXISTS`](/commands/exists), [`DBSIZE`](/commands/dbsize),
301301
[`KEYS`](/commands/keys), [`EXPIRE`](/commands/expire), [`TTL`](/commands/ttl), [`FLUSHALL`](/commands/flushall), etc. Commands that may modify the keyspace,
302302
key, or metadata will also have the `write` category. Commands that only read
303303
the keyspace, key, or metadata will have the `read` category.
304-
* **list** - Data type: lists related.
305-
* **pubsub** - PubSub-related commands.
306-
* **read** - Reading from keys (values or metadata). Note that commands that don't
307-
interact with keys, will not have either `read` or `write`.
304+
* **list** - Data type: all list related commands.
305+
* **pubsub** - all pubsub related commands.
306+
* **read** - Reading from keys (values or metadata). Note that commands that don't interact with keys, will not have either `read` or `write`.
308307
* **scripting** - Scripting related.
309308
* **search** - All search related commands.
310-
* **set** - Data type: sets related.
311-
* **sortedset** - Data type: sorted sets related.
309+
* **set** - Data type: all set related commands.
310+
* **sortedset** - Data type: all sorted set related commands.
312311
* **slow** - All commands that are not `fast`.
313-
* **stream** - Data type: streams related.
314-
* **string** - Data type: strings related.
312+
* **stream** - Data type: all stream related commands.
313+
* **string** - Data type: all string related commands.
315314
* **tdigest** - Data type: all t-digest related commands.
316315
* **timeseries** - Data type: all time series related commands.
317316
* **topk** - Data type: all top-k related commands.
318317
* **transaction** - [`WATCH`](/commands/watch) / [`MULTI`](/commands/multi) / [`EXEC`](/commands/exec) related commands.
319-
* **write** - Writing to keys (values or metadata).
318+
* **write** - Writing to keys (values or metadata). Note that commands that don't interact with keys, will not have either `read` or `write`.
320319

321320
Redis can also show you a list of all categories and the exact commands each category includes using the Redis [`ACL CAT`](/commands/acl-cat) command. It can be used in two forms:
322321

0 commit comments

Comments
 (0)