Back to Redis

FT.ALIASDEL

content/commands/ft.aliasdel.md

latest1.6 KB
Original Source

Remove an alias from an index

Examples

Required arguments

<details open> <summary><code>alias</code></summary>

is index alias to be removed.

</details>

Examples

<details open> <summary><b>Remove an alias from an index</b></summary>

Remove an alias from an index.

{{< highlight bash >}} 127.0.0.1:6379> FT.ALIASDEL alias OK {{< / highlight >}}

</details>

Redis Software and Redis Cloud compatibility

| 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> | |

Return information

{{< multitabs id="ft-aliasdel-return-info" tab1="RESP2" tab2="RESP3" >}}

One of the following:

  • [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): OK if executed correctly.
  • [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: alias does not exist.

-tab-sep-

One of the following:

  • [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): OK if executed correctly.
  • [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: alias does not exist.

{{< /multitabs >}}

See also

[FT.ALIASADD]({{< relref "commands/ft.aliasadd/" >}}) | [FT.ALIASUPDATE]({{< relref "commands/ft.aliasupdate/" >}})