FT.DICTDEL

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

从字典中删除术语

示例

必需的参数

dict

是字典名称。

term

要从字典中删除的术语。

返回

FT.DICTDEL 返回一个整数回复,表示被删除的新术语的数量。

示例

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

另请参阅

FT.DICTADD | FT.DICTDUMP

RediSearch


RATE THIS PAGE
Back to top ↑