MCPcopy
hub / github.com/redis/redis-py / aliasdel

Method aliasdel

redis/commands/search/commands.py:1598–1608  ·  view source on GitHub ↗

Removes an alias to a search index ### Parameters - **alias**: Name of the alias to delete For more information see `FT.ALIASDEL <https://redis.io/commands/ft.aliasdel>`_.

(self, alias: str)

Source from the content-addressed store, hash-verified

1596 return self.execute_command(ALIAS_UPDATE_CMD, alias, self.index_name)
1597
1598 def aliasdel(self, alias: str):
1599 """
1600 Removes an alias to a search index
1601
1602 ### Parameters
1603
1604 - **alias**: Name of the alias to delete
1605
1606 For more information see `FT.ALIASDEL <https://redis.io/commands/ft.aliasdel>`_.
1607 """ # noqa
1608 return self.execute_command(ALIAS_DEL_CMD, alias)
1609
1610 def sugadd(self, key, *suggestions, **kwargs):
1611 """

Callers 4

test_aliasMethod · 0.80
test_alias_basicMethod · 0.80
test_aliasMethod · 0.80
test_alias_basicMethod · 0.80

Calls 1

execute_commandMethod · 0.45

Tested by 4

test_aliasMethod · 0.64
test_alias_basicMethod · 0.64
test_aliasMethod · 0.64
test_alias_basicMethod · 0.64