content/commands/ft.aliasupdate.md
Add an alias to an index. If the alias is already associated with another index, FT.ALIASUPDATE removes the alias association with the previous index.
is alias to be added to an index.
</details>Update the alias of an index.
{{< highlight bash >}} 127.0.0.1:6379> FT.ALIASUPDATE alias idx OK {{< / highlight >}}
| Redis Software | Redis Cloud Flexible & Annual | Redis Cloud Free & Fixed | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:-----------------|:------| | <span title="Supported">✅ Supported</span> | <span title="Supported">✅ Supported</span> | <span title="Supported">✅ Supported</nobr></span> | |
{{< multitabs id="ft-aliasupdate-return-info" tab1="RESP2" tab2="RESP3" >}}
One of the following:
OK if executed correctly.-tab-sep-
One of the following:
OK if executed correctly.{{< /multitabs >}}
[FT.ALIASADD]({{< relref "commands/ft.aliasadd/" >}}) | [FT.ALIASDEL]({{< relref "commands/ft.aliasdel/" >}})
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})