Add synonyms

In the Synonyms section, determine the substitutes for words and phrases.

There are to types of synonyms:

  • One-way synonyms work only in one direction. For example, if “telephone” is entered in the Word input (on the left) and the Synonyms input (on the right) contains “smartphone”, then:
    • search result for “telephone” will include smartphones,
    • search results for “smartphone” won’t contain “telephone” products in results.
  • Two-way synonyms work in two directions. For example, if “telephone” is is entered in the Word input and “smartphone” and “phablet” are synonyms, searching for “smartphone” or “phablet” also shows the results for “telephone”.
Click for video tutorial

Tip: You can manage typos through a dedicated Handling typos and missing words and query rules as well.

Requirements


Only for importing CSV file with synonyms:

  • The file must be encoded into UTF-8; it can’t be UTF-8 BOM,
  • Use commas as a word separator

Add synonyms


You can add synonyms in the following ways:

  • one by one
  • by importing a CSV file with synonyms
Important: Changes in synonyms will be reflected within 30 minutes to several hours, depending on the size of the index to which they are added.

Procedure

  1. Go to AI Search > Indexes.
  2. In the list, click the index to which you want to add synonyms.
  3. Under the name of the index, select the Synonyms tab.
  4. Click Add synonym.
  5. From the dropdown list, select the method of adding synonyms:
    • Add synonym - this option lets you add synonyms manually one by one,
    • Import CSV - this option lets you add multiple synonyms by uploading a CSV file.
      For further instructions, select the tab according to the scenario you want to follow.
  1. From the left dropdown list, define the type of the synonym:
    • One way
      1. In the Word field, enter a word.
      2. In the Synonym field, enter the synonyms for the word.
    • Two ways
      1. For two-way synonyms, in the Synonyms, field enter words related to each other.
  2. To add more synonyms, click Add synonym.
  3. To save the list, click Add.

Example CSV files


One-way synonyms only

word,synonyms,type
phone,smartphone,oneway

As a result, if a customer enters phone in the search box, the results will show smartphones. It doesn’t work the other way round - if a customer types smartphones, the search engine returns the list of smartphones.

Two-way synonyms only

word,synonyms,type
,"computer,PC",synonyms
Note: The first column is empty, all synonyms are contained in the second column.

As a result, the search engine will return the same type of results for computer and PC.

One-way and two-way synonyms in one file

word,synonyms,type
phone,smartphone,oneway
,"computer,PC",synonyms
  • The first row contains one-way synonyms.
    If a customer enters phone in the search box, the results will show smartphones. It doesn’t work the other way round - if a customer types smartphones, the search engine returns the list of smartphones.
  • The second row contains two way synonyms, they are contained only in the second column, the first one remains empty.
    The search engine will return the same type of results for computer and PC.
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker