The thesaurus provides a way to include alternate terms for a shopper’s search query. The thesaurus lets you create the synonyms that capture other ways of expressing queries relevant to your store.
You can add two kinds of synonyms to your thesaurus:
One-way thesaurus entries provide alternate ways of expressing query words or phrases that apply in a single direction only.
For example, you could define a one-way mapping so that all queries for computer would also return matches containing laptop, but queries for laptop would not return results for the more general computer. You can add an unlimited number of synonyms to a one-way entry, and Commerce Cloud expands the query to search for each synonym with the same one-way relationship.
Equivalent thesaurus entries establish a mutual equivalence relationship between words or phrases. The words and phrases are interchangeable. A query for one term would also return results for all other terms.
For example, an equivalent might specify that the phrase “notebook” is interchangeable with the phrase “laptop.”
In the Rest API an equivalent thesaurus entry is known as a multi-way entry. See Extending Oracle Commerce Cloud Service.
Note: In addition to the user interfaces described in this chapter, Commerce Cloud also provides search REST APIs that you can use to manage your thesaurus. See Extending Oracle Commerce Cloud Service for more information.