FT.DICTDEL
Syntax
FT.DICTDEL dict term [term ...]
- Available in:
- Redis Open Source / Search 1.4.0
- Time complexity:
- O(1)
- ACL categories:
-
@search, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
Delete terms from a dictionary
Required arguments
dict
is dictionary name.
term
term to delete from the dictionary.
Examples
Delete terms from a dictionary
127.0.0.1:6379> FT.DICTDEL dict foo bar "hello world"
(integer) 3Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud Flexible & Annual |
Redis Cloud Free & Fixed |
Notes |
|---|---|---|---|
| ✅ Supported | ✅ Supported | ✅ Supported |
Return information
Integer reply: the number of terms deleted from the dictionary.