FT.DICTADD

Syntax
FT.DICTADD dict term [term ...]
Available in:
Redis Open Source / Search 1.4.0
Time complexity:
O(1)
ACL categories:
@search,

Add terms to a dictionary

Examples

Required arguments

dict

is dictionary name.

term

term to add to the dictionary.

Examples

Add terms to a dictionary
127.0.0.1:6379> FT.DICTADD dict foo bar "hello world"
(integer) 3

Return information

Integer reply: the number of new terms added to the dictionary.

See also

FT.DICTDEL | FT.DICTDUMP

RediSearch

RATE THIS PAGE
Back to top ↑