Synonyms
Synonyms are words or phrases that convey the same meaning.
In the Sparque Center, synonyms help improve search accuracy, product discovery, and overall user experience in your online shop by linking related terms.
This section provides an overview of common use cases and examples, as well as step-by-step instructions for importing and exporting synonyms.
Types of Synonyms
The Sparque Center features two types of synonyms, two-way and one-way synonyms.
Two-Way Synonyms
Two-way synonyms link terms to each other through a bidirectional connection, meaning a search for any linked term will return results for all associated terms.
For example, searching for "bicycle" will also display results for "bike," and searching for "bike" will return results for "bicycle" if configured as two-way synonyms.
In the list of synonyms, two-way synonyms are connected by
.
Common use cases for two-way synonyms include:
-
Alternative spellings and variants
Customers may use different spellings for the same product:
- "T-shirt" ↔ "Shirt"
- "Headphone" ↔ "Headset"
-
Common misspellings
Accounting for typos ensures that users still find what they are looking for:
- "Laptop" ↔ "Lapotp"
- "Sneakers" ↔ "Sneekers"
-
Brand names vs. generic terms
Users may search using either the brand name or a general category:
- "Nike" ↔ "Running Shoes"
- "Apple iPhone" ↔ "Smartphone"
-
Regional language differences
Different terms might be used in different regions:
- "Trainers" (UK) ↔ "Sneakers" (US)
- "Chips" (UK) ↔ "Fries" (US)
-
Abbreviations and shortened forms
Customers might use abbreviations while searching:
- "TV" ↔ "Television"
- "SSD" ↔ "Solid State Drive"
One-Way Synonyms
One-way synonyms link one term to another (or several others), with the relationship being strictly one-directional. This means that searching for a term will include results for its synonym(s), while searching for a synonym will not return results for the original term.
For example, a search for "smartphone" will also show results for "iPhone" if configured as synonym. However, searching for "iPhone" will not display results for "smartphone".
In the list of synonyms, one-way synonyms are connected by
.
Common use cases for one-way synonyms include:
-
Product search expansion
A broader search term yields more specific results, but a specific search term does not broaden the search:
-
"Shoe" → "Sandal"
-
-
Brand-specific searches
A search for a brand should yield results for the general product category. However, a search for the category should not yield specific brand results:
-
"Nike" → "Running Shoes"
-
-
Avoiding irrelevant results
A search for one term should not yield irrelevant results for the other term in the pair:
- "Tablet" → "Microsoft Surface Book"
Synonym Import and Export
In the Sparque Center, you can upload or download a list of synonyms via CSV import/export. Uploading a new list will replace the existing one.
When working with synonyms, consider the following:
- Relevance: Avoid overly broad synonyms that might lead to irrelevant results. For example, mapping "laptop" to "computer" might return broader results than the user intended.
- Performance: Large synonym lists can impact search performance; prioritize frequently searched terms.
- Regular Updates: Periodically review and update synonyms based on user search behavior.
- Testing: After changes, test searches to confirm the desired behavior.
CSV Formatting
Example Code:
"TWO_WAY","en_US",,"laptop","notebook","portable computer"
"ONE_WAY","de_DE","2-in-1 laptop","surface book"
- The file must use the CSV format with commas or semicolons as field separators. Intershop recommends using Google Spreadsheet to create the CSV file, as Excel may use different separators depending on regional settings.
- Each line in the file should represent a single set of synonyms.
- The file must not have a header row.
- For TWO_WAY synonyms, no base term is specified and the column must remain empty.
- Synonyms are case-insensitive. All inputs are displayed in lower case.
- You can set a language with a region using either an underscore or a hyphen (e.g.,
en_USoren-US). - When exporting synonyms, the language and region are always specified with a hyphen (e.g.,
en_US).
Importing Synonyms
To import synonyms, follow these steps:
Exporting Synonyms
To export the current list of synonyms, follow these steps:
Searching Synonyms
The search allows you to search for a synonym by (parts of) the term, the type of synonym, and the language. To do so, follow these steps:
Creating Synonyms
To create a synonym, follow these steps:
Editing Synonyms
To update existing synonyms, for example to change individual terms, follow these steps:
Deleting Synonyms
To delete an existing synonym, follow these steps:
) of the synonym in question.
) of the synonym in question.