Skip to content

Commit 0214839

Browse files
Apply more suggestions from code review.
Co-authored-by: andy-stark-redis <[email protected]>
1 parent e73d621 commit 0214839

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/develop/interact/search-and-query/advanced-concepts/aggregation-syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ FT.AGGREGATE products "*"
117117
.
118118
```
119119

120-
- When referencing fields created by `REDUCE` in an `APPLY` or `FILTER` clauses.
120+
- When referencing fields created by `REDUCE` in `APPLY` or `FILTER` clauses.
121121

122122
```sh
123123
FT.AGGREGATE products "*"
@@ -206,7 +206,7 @@ FT.AGGREGATE products "*"
206206

207207
## GROUPBY with multiple REDUCE operations
208208

209-
`GROUPBY` can be followed by multiple `REDUCE` operations for different aggregations.
209+
You can use multiple `REDUCE` operations after `GROUPBY` for different aggregations.
210210

211211
```sh
212212
FT.AGGREGATE products "*"
@@ -325,7 +325,7 @@ This is not allowed and you'll get a syntax error.
325325

326326
## LIMIT and WITHCURSOR used together
327327

328-
While you wouldn't ordinarily use `LIMIT` and `WITHCURSOR` together in the same query, you can use them advantageously if doing so fits your workflow.
328+
While you wouldn't ordinarily use `LIMIT` and `WITHCURSOR` together in the same query, you can do so if necessary.
329329
`LIMIT`, as the name suggests, will limit the total number of results returned for the given query. `WITHCURSOR` will paginate the results in chunks of size `COUNT`. You can use the [cursor API]({{< relref "/develop/interact/search-and-query/advanced-concepts/aggregations/#cursor-api" >}}) to retrieve more results, as shown below.
330330

331331
```sh

0 commit comments

Comments
 (0)