FT.SYNUPDATE index synonym_group_id [SKIPINITIALSCAN] term [term ...]
@search,
Update a synonym group
indexis index name.
synonym_group_idis synonym group to return.
Use FT.SYNUPDATE to create or update a synonym group with additional terms. The command triggers a scan of all documents.
SKIPINITIALSCANdoes not scan and index, and only documents that are indexed after the update are affected.
127.0.0.1:6379> FT.SYNUPDATE idx synonym hello hi shalom
OK127.0.0.1:6379> FT.SYNUPDATE idx synonym SKIPINITIALSCAN hello hi shalom
OK| Redis Enterprise |
Redis Cloud Flexible & Annual |
Redis Cloud Free & Fixed |
Notes |
|---|---|---|---|
| ✅ Supported | ✅ Supported | ✅ Supported |
One of the following:
OK if executed correctly.