FT.SYNDUMP

FT.SYNDUMP index
Available in:
Redis Open Source / Search 1.2.0
Time complexity:
O(1)
ACL categories:
@search,
Compatibility:
Redis Software and Redis Cloud compatibility

Dump the contents of a synonym group

Examples

Required arguments

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.

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"

Redis Software and Redis Cloud compatibility

Redis
Software
Redis Software
Flex
Redis Cloud
Flexible & Annual
Redis Cloud
Free & Fixed
Notes
✅ Supported ❌ Not supported ✅ Supported ✅ Supported

Return information

One of the following:

See also

FT.SYNUPDATE

RediSearch

RATE THIS PAGE
Back to top ↑