Delete a string from the AutoCompleter index. Returns 1 if the string was found and deleted, 0 otherwise. For more information see `FT.SUGDEL <https://redis.io/commands/ft.sugdel>`_.
(self, key: str, string: str)
| 1639 | return self.execute_command(SUGLEN_COMMAND, key) |
| 1640 | |
| 1641 | def sugdel(self, key: str, string: str) -> int: |
| 1642 | """ |
| 1643 | Delete a string from the AutoCompleter index. |
| 1644 | Returns 1 if the string was found and deleted, 0 otherwise. |
| 1645 | |
| 1646 | For more information see `FT.SUGDEL <https://redis.io/commands/ft.sugdel>`_. |
| 1647 | """ # noqa |
| 1648 | return self.execute_command(SUGDEL_COMMAND, key, string) |
| 1649 | |
| 1650 | def sugget( |
| 1651 | self, |