File tree Expand file tree Collapse file tree 2 files changed +485
-4
lines changed
Expand file tree Collapse file tree 2 files changed +485
-4
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ type SpellCheckTerms struct {
114114}
115115
116116type FTExplainOptions struct {
117+ // Dialect 1,3 and 4 are deprecated since redis 8.0
117118 Dialect string
118119}
119120
@@ -261,7 +262,8 @@ type FTAggregateOptions struct {
261262 WithCursor bool
262263 WithCursorOptions * FTAggregateWithCursor
263264 Params map [string ]interface {}
264- DialectVersion int
265+ // Dialect 1,3 and 4 are deprecated since redis 8.0
266+ DialectVersion int
265267}
266268
267269type FTSearchFilter struct {
@@ -322,8 +324,9 @@ type FTSearchOptions struct {
322324 Limit int
323325 // CountOnly sets LIMIT 0 0 to get the count - number of documents in the result set without actually returning the result set.
324326 // When using this option, the Limit and LimitOffset options are ignored.
325- CountOnly bool
326- Params map [string ]interface {}
327+ CountOnly bool
328+ Params map [string ]interface {}
329+ // Dialect 1,3 and 4 are deprecated since redis 8.0
327330 DialectVersion int
328331}
329332
@@ -440,7 +443,8 @@ type IndexDefinition struct {
440443type FTSpellCheckOptions struct {
441444 Distance int
442445 Terms * FTSpellCheckTerms
443- Dialect int
446+ // Dialect 1,3 and 4 are deprecated since redis 8.0
447+ Dialect int
444448}
445449
446450type FTSpellCheckTerms struct {
You can’t perform that action at this time.
0 commit comments