FT.DICTDUMP
Syntax
FT.DICTDUMP dict
- Available in:
- Redis Stack / Search 1.4.0
- Time complexity:
- O(N), where N is the size of the dictionary
转储给定字典中的所有术语
必需的参数
dict
是字典名称。
返回
FT.DICTDUMP 返回一个数组,其中每个元素是一个术语(字符串)。
示例
Dump all terms in the dictionary
127.0.0.1:6379> FT.DICTDUMP dict
1) "foo"
2) "bar"
3) "hello world"