FT.DICTADD
- Available in:
- Redis Stack / Search 1.4.0
- Time complexity:
- O(1)
Add terms to a dictionary
Syntax
FT.DICTADD dict term [term ...]
Required parameters
dict
is dictionary name.
term
term to add to the dictionary.
Return
FT.DICTADD returns an integer reply, the number of new terms that were added.
Examples
Add terms to a dictionary
127.0.0.1:6379> FT.DICTADD dict foo bar "hello world"
(integer) 3
See also
Related topics
Feedback
If you've found issues on this page, or have suggestions for improvement, please submit a request to merge or open an issue in the repository.