--- acl_categories: - '@search' arguments: - name: dict type: string - multiple: true name: term type: string categories: - docs - develop - stack - oss - rs - rc - oss - kubernetes - clients complexity: O(1) description: Deletes terms from a dictionary group: search hidden: false linkTitle: FT.DICTDEL module: Search railroad_diagram: /images/railroad/ft.dictdel.svg since: 1.4.0 stack_path: docs/interact/search-and-query summary: Deletes terms from a dictionary syntax_fmt: FT.DICTDEL dict term [term ...] title: FT.DICTDEL --- Delete terms from a dictionary [Examples](#examples) ## Required arguments
dict is dictionary name.
term term to delete from the dictionary.
## Examples
Delete terms from a dictionary {{< highlight bash >}} 127.0.0.1:6379> FT.DICTDEL dict foo bar "hello world" (integer) 3 {{< / highlight >}}
## Redis Software and Redis Cloud compatibility | Redis
Software | Redis Cloud
Flexible & Annual | Redis Cloud
Free & Fixed | Notes | |:----------------------|:-----------------|:-----------------|:------| | ✅ Supported | ✅ Supported | ✅ Supported | | ## Return information {{< multitabs id="ft-dictdel-return-info" tab1="RESP2" tab2="RESP3" >}} [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}): the number of terms deleted from the dictionary. -tab-sep- [Integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}): the number of terms deleted from the dictionary. {{< /multitabs >}} ## See also [`FT.DICTADD`]({{< relref "commands/ft.dictadd/" >}}) | [`FT.DICTDUMP`]({{< relref "commands/ft.dictdump/" >}}) ## Related topics [RediSearch]({{< relref "/develop/ai/search-and-query/" >}})