[フレーム]
Docs Pricing
Login Book a meeting Try Redis

FT.SUGDEL

Syntax
FT.SUGDEL key string
Available in:
Redis Open Source / Search 1.0.0
Time complexity:
O(1)
ACL categories:
@search, @write,

Delete a string from a suggestion index

Examples

Required arguments

key

is suggestion dictionary key.

string

is suggestion string to index.

Examples

Delete a string from a suggestion index
127.0.0.1:6379> FT.SUGDEL sug "hello"
(integer) 1
127.0.0.1:6379> FT.SUGDEL sug "hello"
(integer) 0

Return information

Integer reply: 1 if the suggestion was deleted, 0 if it was not found.

See also

FT.SUGGET | FT.SUGADD | FT.SUGLEN

RediSearch

RATE THIS PAGE
Back to top ↑

AltStyle によって変換されたページ (->オリジナル) /