FT.ALIASADD alias index

Available in: Redis Stack

Time complexity: O(1)

Add an alias to an index. This allows an administrator to transparently redirect application queries to alternative indexes.

Indexes can have more than one alias, though an alias cannot refer to another alias.


[] otherwise.


redis> FT.ALIASADD alias idx
redis> FT.ALIASADD alias idx
(error) Alias already exists