Synonyms #

The synonyms feature allows you to define search terms that should be considered equivalent. For example, when you define a synonym for sneaker as shoe, searching for sneaker will now return all records with the word shoe in them, in addition to records with the word sneaker.

Typesense supports two types of synonyms:

CMS Setup #

All collections in the CMS have a Synonyms tab for manipulating synonyms. When they are added, edited, or deleted in the CMS, they are automatically updated or removed on the Typesense server. They are not synced, so if deleted on the remote server first, the synonyms in the CMS will not be correct - if you save the set again, it will then update and restore it on the server.

When creating a synonynm for the first time, you need to provide it with a unique ID. If the field is left empty, a random one will be generated and it cannot be changed later.

Note: symbols_to_index and locale values are not shown in the Typesense Dashboard. An issue has been created for this here.