FT.SUGDEL
FT.SUGDEL key string
Delete a string from a suggestion index
keyis suggestion dictionary key.
stringis suggestion string to index.
FT.SUGDEL returns an integer reply, 1 if the string was found and deleted, 0 otherwise.
127.0.0.1:6379> FT.SUGDEL sug "hello"
(integer) 1
127.0.0.1:6379> FT.SUGDEL sug "hello"
(integer) 0FT.SUGGET | FT.SUGADD | FT.SUGLEN
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/ft.sugdel/