Skip to content

Commit fa37ea0

Browse files
authored
Update content/commands/ft.search/index.md
1 parent d904601 commit fa37ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/commands/ft.search/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ orders the results by the value of this attribute. This applies to both text and
479479

480480
limits the results to the offset and number of results given. Note that the offset is zero-indexed. The default is 0 10, which returns 10 items starting from the first result. You can use `LIMIT 0 0` to count the number of documents in the result set without actually returning them.
481481

482-
**Limit behavior**: If no sorting is done, `LIMIT` results are non-deterministic. This means it may return results that are duplicated or missing in subsequent queries. To ensure deterministic result set paging, you can add `SORTBY` with a unique field or use `FT.AGGREGATE` and `WITHCURSOR`.
482+
**`LIMIT` behavior**: If you use the `LIMIT` option without sorting, the results returned are non-deterministic, which means that subsequent queries may return duplicated or missing values. Add `SORTBY` with a unique field, or use `FT.AGGREGATE` with the `WITHCURSOR` option to ensure deterministic result set paging.
483483
</details>
484484

485485
<details open>

0 commit comments

Comments
 (0)