FT.DICTDUMP dict

Available in: Redis Stack

Time complexity: O(N), where N is the size of the dictionary

Dumps all terms in the given dictionary.

Parameters

  • dict: the dictionary name.

Return

Returns an array, where each element is term (string).

Examples

redis> FT.DICTDUMP dict
1) "foo"
2) "bar"
3) "hello world"