Dumps the contents of a synonym group. The command is used to dump the synonyms data structure. Returns a list of synonym terms and their synonym group ids. For more information see `FT.SYNDUMP <https://redis.io/commands/ft.syndump>`_.
(self)
| 1728 | return self.execute_command(*cmd) |
| 1729 | |
| 1730 | def syndump(self): |
| 1731 | """ |
| 1732 | Dumps the contents of a synonym group. |
| 1733 | |
| 1734 | The command is used to dump the synonyms data structure. |
| 1735 | Returns a list of synonym terms and their synonym group ids. |
| 1736 | |
| 1737 | For more information see `FT.SYNDUMP <https://redis.io/commands/ft.syndump>`_. |
| 1738 | """ # noqa |
| 1739 | res = self.execute_command(SYNDUMP_CMD, self.index_name) |
| 1740 | return self._parse_results(SYNDUMP_CMD, res) |
| 1741 | |
| 1742 | |
| 1743 | class AsyncSearchCommands(SearchCommands): |