Alias management commands (FT.ALIASADD, FT.ALIASUPDATE, FT.ALIASDEL) allow users to assign stable, human-readable names to existing indexes.
Expected behavior:
FT.ALIASADD
- Creates a new alias for the specified index.
- Returns an error if the alias already exists.
FT.ALIASUPDATE
- Adds or updates an alias to point to a new index.
- If the alias doesn’t exist, it is created.
- If it exists, it’s updated atomically to point to the new index.
FT.ALIASDEL
- Deletes an existing alias without removing the underlying index.