content/commands/ft.sugdel.md
Delete a string from a suggestion index
is suggestion dictionary key.
</details> <details open> <summary><code>string</code></summary>is suggestion string to index.
</details>{{< highlight bash >}} 127.0.0.1:6379> FT.SUGDEL sug "hello" (integer) 1 127.0.0.1:6379> FT.SUGDEL sug "hello" (integer) 0 {{< / highlight >}}
</details>| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | Not supported on clustered databases. |
{{< multitabs id="ft-sugdel-return-info" tab1="RESP2" tab2="RESP3" >}}
[Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}): 1 if the suggestion was deleted, 0 if it was not found.
-tab-sep-
[Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}): 1 if the suggestion was deleted, 0 if it was not found.
{{< /multitabs >}}
[FT.SUGGET]({{< relref "commands/ft.sugget/" >}}) | [FT.SUGADD]({{< relref "commands/ft.sugadd/" >}}) | [FT.SUGLEN]({{< relref "commands/ft.suglen/" >}})
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})