FT.SYNDUMP
- Available in:
- Redis Stack / Search 1.2.0
- Time complexity:
- O(1)
Dump the contents of a synonym group
Syntax
FT.SYNDUMP index
Required parameters
index
is index name.
Use FT.SYNDUMP to dump the synonyms data structure. This command returns a list of synonym terms and their synonym group ids.
Return
FT.SYNDUMP returns an array reply, with a pair of term
and an array of synonym groups.
Examples
Return the contents of a synonym group
127.0.0.1:6379> FT.SYNDUMP idx
1) "shalom"
2) 1) "synonym1"
2) "synonym2"
3) "hi"
4) 1) "synonym1"
5) "hello"
6) 1) "synonym1"
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.