FT.DICTDEL

Syntax
FT.DICTDEL dict term [term ...]
Available in:
Redis Stack / Search 1.4.0
Time complexity:
O(1)

Delete terms from a dictionary

Examples

Required arguments

dict

is dictionary name.

term

term to delete from the dictionary.

Return

FT.DICTDEL returns an integer reply, the number of new terms that were deleted.

Examples

Delete terms from a dictionary
127.0.0.1:6379> FT.DICTDEL dict foo bar "hello world"
(integer) 3

See also

FT.DICTADD | FT.DICTDUMP

RediSearch

Rate this page