Available in: Redis Stack
Time complexity: O(1)
Updates a synonym group.
The command is used to create or update a synonym group with additional terms. The command triggers a scan of all documents.
[] otherwise.
redis> FT.SYNUPDATE idx synonym hello hi shalom
OK
redis> FT.SYNUPDATE idx synonym SKIPINITIALSCAN hello hi shalom
OK