-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
In the current implementation of the client, users are required to specify the RediSearch dialect version for every FT.SEARCH
or FT.AGGREGATE
command. This repetitive configuration process might be prone to errors and can lead to inconsistency issues across different parts of a project where different dialect versions might be unintentionally used.
In order to make our client more user-friendly and maintain consistency throughout the usage, we need to provide a configuration option that allows users to set the RediSearch dialect version at the connection level. This will ensure the specified version is used across all FT.SEARCH
and FT.AGGREGATE
commands, removing the need to set it individually each time.
Acceptance Criteria:
- A new configuration option should be added to the client that allows users to specify the RediSearch dialect version at the connection level.
- This configuration option should be optional. If it is not specified, the client should fall back to the current behavior.
- If the configuration option is set, all
FT.SEARCH
,FT.AGGREGATE
,FT.EXPLAIN
,FT.EXPLAINCLI
, andFT.SPELLCHECK
commands should use the specified RediSearch dialect version by default.