Synonym searching

A search page can suggest or modify searches depending on thesaurus relations.

This function means that related terms can be determined when a search is done using thesaurus terms' relations and either suggest a new search or modify the current search based on the search settings.

Example

To create a search page that uses synonym searching:

  1. Add and configure a search page on your site, selecting the root nodes and asset types to search for, adding the search fields, and setting up the page’s layout.

  2. On the Details screen of the search page, select a thesaurus in the Thesaurus asset field of the Synonym search options section, as shown in the figure below.

    The thesaurus asset field in the synonym search options section of the details screen

    You can also choose to use auto synonym search and enable multi-word synonym lookups. Read the Search assets documentation for more information.

    The keyword replacement for the synonym results now needs to be added to the results page. Doing this will allow the user to see the suggested synonyms.

  3. Right-click on the results page layout bodycopy of the search page.

  4. Select the Edit contents screen. The information shown in the figure below was entered into the WYSIWYG editor.

    The WYSIWYG editor on the results page layout bodycopy

    You can also add the keyword replacement to the no results page layout bodycopy to display synonym searching when no results are found.

    Now that the search page is configured, you must configure the synonym relation setting.

  5. Go to the Details screen of the selected thesaurus.

  6. Select the relation used for synonyms in the thesaurus, in the Built-in relations section, as shown in the figure below.

    The build-in relations sections of the thesaurus' details screen

Synonym searching is now configured for the search page. When a term from the thesaurus is searched, the search page will suggest synonyms based on its relations, as shown here:

Synonym searching on the search page