Synonym Searching
Last Updated: 09 Jun 2017
A Search Page can suggest or modify searches depending on Thesaurus relations. This means that when a search is made, related terms can be determined using Thesaurus Terms' relations to each other and either suggest a new search or modify the current search, based on the search settings.
Example
To create a Search Page which uses synonym searching:
- 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 layout of the page.
- 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. Search manual.
The keyword replacement for the synonym results now needs to be added to the results page. This will allow the user to see the suggested synonyms. You can also choose to use Auto Synonym Search and Enable Multi-Word Synonym Lookups. For more information on these settings, refer to the - Right click on the Results Page Layout Bodycopy of the Search Page and select the Edit Contents screen.
- The information shown in the figure below was entered into the WYSIWYG Editor.
Now that the Search Page is configured, the Synonym Relation setting must be configured. You can also add the keyword replacement to the No Results Page Layout Bodycopy to display synonym searching when no results are found. - Go to the Details screen of the selected Thesaurus.
- In the Built-in Relations section, select the relation used for synonyms in the Thesaurus, as shown in the figure below. Synonym searching is now configured for the Search Page. When a term from the Thesaurus is searched, the Search Page will suggest synonyms of that terms based on its relations, as shown in the figure below.