Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/commands/ft.search/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ orders the results by the value of this attribute. This applies to both text and
<summary><code>LIMIT first num</code></summary>

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.

**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`.
</details>

<details open>
Expand Down
Loading