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 {
114
114
}
115
115
116
116
type FTExplainOptions struct {
117
+ // Dialect 1,3 and 4 are deprecated since redis 8.0
117
118
Dialect string
118
119
}
119
120
@@ -261,7 +262,8 @@ type FTAggregateOptions struct {
261
262
WithCursor bool
262
263
WithCursorOptions * FTAggregateWithCursor
263
264
Params map [string ]interface {}
264
- DialectVersion int
265
+ // Dialect 1,3 and 4 are deprecated since redis 8.0
266
+ DialectVersion int
265
267
}
266
268
267
269
type FTSearchFilter struct {
@@ -322,8 +324,9 @@ type FTSearchOptions struct {
322
324
Limit int
323
325
// CountOnly sets LIMIT 0 0 to get the count - number of documents in the result set without actually returning the result set.
324
326
// 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
327
330
DialectVersion int
328
331
}
329
332
@@ -440,7 +443,8 @@ type IndexDefinition struct {
440
443
type FTSpellCheckOptions struct {
441
444
Distance int
442
445
Terms * FTSpellCheckTerms
443
- Dialect int
446
+ // Dialect 1,3 and 4 are deprecated since redis 8.0
447
+ Dialect int
444
448
}
445
449
446
450
type FTSpellCheckTerms struct {
You can’t perform that action at this time.
0 commit comments