Available in: Redis Stack
Time complexity: O(1)
Add an alias an index. If the alias is already associated with another index, FT.ALIASUPDATE will remove the alias association with the previous index.
[] otherwise.
redis> FT.ALIASADD alias idx
OK
redis> FT.ALIASADD alias idx
OK