Types of Synonyms
One- and two-way synonyms expand the definition of keywords. Some are interchangeable with the keyword, while others represent a subset of the keyword.
Two-way
Two-way synonyms have the same meaning and return the same search results. In the following example, the first word shown in bold is the keyword that is used in the catalog, followed by words that have the same meaning as the original keyword. You can create a simple pair of two-way synonyms, or a chain of multiple two-way synonyms for the same keyword.
jacket
pants
One-way
A one-way synonym is a subset of a keyword, but with a more specific meaning. For example, capris and shorts are pants, but not all pants are capris or shorts. A search for pants includes capris and shorts. However, a search for shorts does not return capris.
sweatshirt
pants
Best practices
Keep in mind the following best practices to get the most from Live Search synonyms.
Avoid 鈥渟top words鈥
Live Search filters out common English 鈥渟top words鈥 from synonyms, such as:
a, an, and, are, as, at, be, but, by, for, if, in, into, is, it, no, not, of, on, or, such, that, the, their, then, there, these, they, this, to, was, will, with
Stop words do not make synonyms more meaningful, but increase the amount of data that must be processed.
Use of singular and plural
It is not necessary to define both the singular and plural forms of a word as a synonym. If you have a mixture of singular and plural terms in your catalog, Search finds the correct set of products. For example, if you use the word 鈥減ant鈥 in the product name and a shopper searches for 鈥減ants鈥, the correct set of products is returned, and the singular word 鈥減ant鈥 is offered as a suggestion. The singular term 鈥減ant鈥 is often used in the fashion industry and sometimes in retail, although the plural form 鈥減ants鈥 is more commonly used in some areas. (The word 鈥減ant鈥 technically refers to the part of a garment that covers one leg, which is why you need a 鈥減air of pants鈥 to cover both legs.)
Consistency
Be consistent with the way terminology is used in your catalog. Keep in mind that there might be regional differences in usage, and sometimes differences within an industry.
Multi-word synonym behavior
For multi-word synonyms, Commerce considers the synonym as a phrase. For example, if you create a two-way synonym dining room table
If no synonym is created and a shopper searches for kitchen table, Commerce looks for the terms anywhere in the searchable fields, even across different fields, for example table in the name field and kitchen in the meta keyword.
After creating a synonym, the search behavior changes to look for the exact phrase kitchen table. This might reduce the number of results because only products with the exact phrase will be shown.
If you want the terms to be searched separately as before, you can create a support ticket. If there is enough demand, Commerce will consider adding this functionality to the product in a future release.