diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-11-14 14:14:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-14 14:14:00 +0200 |
commit | 46f935186bc068df676dfd03faf91f35aa8fae4a (patch) | |
tree | 3fcc6b984545559f473c6c56344c46662075b62d /redis | |
parent | c8cb7150abe99b77f9f6bde1fba8ecb527295110 (diff) | |
download | redis-py-46f935186bc068df676dfd03faf91f35aa8fae4a.tar.gz |
FT.EXPLAINCLI intentionally raising NotImplementedError (#1705)
Diffstat (limited to 'redis')
-rw-r--r-- | redis/commands/search/commands.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redis/commands/search/commands.py b/redis/commands/search/commands.py index 296fb25..0cee2ad 100644 --- a/redis/commands/search/commands.py +++ b/redis/commands/search/commands.py @@ -17,6 +17,7 @@ ADD_CMD = "FT.ADD" ADDHASH_CMD = "FT.ADDHASH" DROP_CMD = "FT.DROP" EXPLAIN_CMD = "FT.EXPLAIN" +EXPLAINCLI_CMD = "FT.EXPLAINCLI" DEL_CMD = "FT.DEL" AGGREGATE_CMD = "FT.AGGREGATE" CURSOR_CMD = "FT.CURSOR" @@ -376,6 +377,9 @@ class SearchCommands: args, query_text = self._mk_query_args(query) return self.execute_command(EXPLAIN_CMD, *args) + def explain_cli(self, query): # noqa + raise NotImplementedError("EXPLAINCLI will not be implemented.") + def aggregate(self, query): """ Issue an aggregation query |