FT.DICTDUMP

Available in:
Redis Stack / Search 1.4.0
Time complexity:
O(N), where N is the size of the dictionary

Dump all terms in the given dictionary

Syntax

FT.DICTDUMP dict

Examples

Required parameters

dict

is dictionary name.

Return

FT.DICTDUMP returns an array, where each element is term (string).

Examples

Add terms to a dictionary
127.0.0.1:6379> FT.DICTDUMP dict
1) "foo"
2) "bar"
3) "hello world"

See also

FT.DICTADD | FT.DICTDEL

RediSearch

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.