Skip to content

Commit 974623f

Browse files
authored
Update search_commands.go
1 parent 5af10b9 commit 974623f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

search_commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ type FTSearchOptions struct {
320320
SortByWithCount bool
321321
LimitOffset int
322322
Limit int
323-
// You can use LIMIT 0 0 to count the number of documents in the result set without actually returning them.
323+
// CountOnly sets LIMIT 0 0 to get the count - number of documents in the result set without actually returning the result set.
324324
// When using this option, the Limit and LimitOffset options are ignored.
325325
CountOnly bool
326326
Params map[string]interface{}

0 commit comments

Comments
 (0)