Skip to content

Commit 69d7896

Browse files
authored
Supporting setting a default DIALECT for search commands (#147)
* change the structure of AggregationRequest * add SerializeRedisArgs for FT.AGGREGATE * fixes * dialect 2 * try to not use GetArgsAsString * delete asString * default dialect * fix async test * add tests * add params tests * Params > 1 for AggregationRequest * coverage * fix * Query params * ExplainCli default dialect test * rename to ModulePrefixes
1 parent 2dcac07 commit 69d7896

File tree

7 files changed

+530
-108
lines changed

7 files changed

+530
-108
lines changed

src/NRedisStack/ModulPrefixes.cs renamed to src/NRedisStack/ModulePrefixes.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace NRedisStack.RedisStackCommands
44
{
5-
public static class ModulPrefixes
5+
public static class ModulePrefixes
66
{
77
public static BloomCommands BF(this IDatabase db) => new BloomCommands(db);
88

@@ -16,7 +16,7 @@ public static class ModulPrefixes
1616

1717
public static TdigestCommands TDIGEST(this IDatabase db) => new TdigestCommands(db);
1818

19-
public static SearchCommands FT(this IDatabase db) => new SearchCommands(db);
19+
public static SearchCommands FT(this IDatabase db, int? searchDialect = null) => new SearchCommands(db, searchDialect);
2020

2121
public static JsonCommands JSON(this IDatabase db) => new JsonCommands(db);
2222

0 commit comments

Comments
 (0)