Product DocsMenu

Coveo Platform 6.5 >
Administrator Help > Administration Tool > Index Tab > Thesaurus Menu > Adding Thesaurus Entries from the Administration Tool

Adding Thesaurus Entries from the Administration Tool

The CES thesaurus is a list of related or equivalent words used to expand queries. The thesaurus transparently adds expressions to the search, thus returning more results that would otherwise be missed. You can easily populate the thesaurus using the Administration Tool.

Example: The thesaurus is useful to expand queries for abbreviations. When a user enters the short form of an expression like XML, the thesaurus adds to the query the long form of the expression like extensible markup language, thus returning results containing either form of the expression.

Note: You can also manually edit the XML file of the thesaurus (see Creating or Modifying an XML Thesaurus File).

To add a thesaurus entry

  1. On the Coveo server, access the Administration Tool (see Opening the Administration Tool).

  2. Access the Thesaurus page (Index > Thesaurus).

  3. In the navigation panel on the left, click Keywords.

  4. In the right pane, click Add.

  5. In the Add Thesaurus Keyword page:
    1. In the Keyword field, enter the word or exact phrase for which you want to enter one or more synonyms.

      Example: To add bob to the query robert, enter robert as the keyword 

    2. In the Synonyms field, enter one or more words to add as synonyms of the keyword. When entering more than one synonym, enter one entry per line. You can enter an exact phrase.

      Example: To add bob to the query robert, enter bob as the synonym.

    3. Beside Option:

      • Clear the Use the synonym relationship advanced rule check box to use the basic relationship rule that adds the synonyms to the keyword using the OR operator.

      OR

      • Select the Use the synonym relationship advanced rule.

      • Select Replace the keyword by its synonym to replace the keyword by the synonym. This synonymy rule allows only one synonym per keyword.

        Example: A query for robert becomes bob.

      • Select Establish reciprocal synonymy between the keyword and its synonyms to add the synonym to the keyword using the OR operator and vice versa.

        Example: A query for robert becomes robert OR bob and a query for bob becomes bob OR robert.

        Note: Selecting this option is equivalent as setting the attribute bidirectional=true for the mapping tag in the XML thesaurus file.

    4. In the Collection drop-down list, select the collections to which the thesaurus entry is applied.

      Example: The synonymy between robert and bob applies only to the R&D collection. Consequently, a query for robert in the Human Resources collection does not return results for bob.

    5. Click Save.

  6. Refresh the thesaurus (see Refreshing the Thesaurus).