1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-17 20:17:02 +03:00

Update search_commands.go

This commit is contained in:
Nedyalko Dyakov 2025-04-15 13:57:47 +03:00 committed by GitHub
parent 5af10b96e9
commit 974623f4d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -320,7 +320,7 @@ type FTSearchOptions struct {
SortByWithCount bool SortByWithCount bool
LimitOffset int LimitOffset int
Limit int Limit int
// You can use LIMIT 0 0 to count the number of documents in the result set without actually returning them. // CountOnly sets LIMIT 0 0 to get the count - number of documents in the result set without actually returning the result set.
// When using this option, the Limit and LimitOffset options are ignored. // When using this option, the Limit and LimitOffset options are ignored.
CountOnly bool CountOnly bool
Params map[string]interface{} Params map[string]interface{}