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

FT.SUGLEN

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

Get the size of an auto-complete suggestion dictionary

Examples

Required arguments

key

is suggestion dictionary key.

Examples

Get the size of an auto-complete suggestion dictionary
127.0.0.1:6379> FT.SUGLEN sug
(integer) 2

Return information

Integer reply: number of suggestions in the dictionary.

See also

FT.SUGADD | FT.SUGDEL | FT.SUGGET

RediSearch

RATE THIS PAGE
Back to top ↑

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