From 974623f4d4918eb678e1db0d193a4b4b779e9c31 Mon Sep 17 00:00:00 2001 From: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com> Date: Tue, 15 Apr 2025 13:57:47 +0300 Subject: [PATCH] Update search_commands.go --- search_commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search_commands.go b/search_commands.go index 0a97be90..40942620 100644 --- a/search_commands.go +++ b/search_commands.go @@ -320,7 +320,7 @@ type FTSearchOptions struct { SortByWithCount bool LimitOffset 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. CountOnly bool Params map[string]interface{}