Skip to content

Replacements

The replacement function is designed to improve search results by modifying the default search output. This is achieved by replacing a user-entered search term (A) with a more relevant term (B) based on specific settings.

Replacements can involve:

  • Substituting one word with another.
  • Restricting the search to specific categories to avoid incorrect results.
  • Managing ambiguous terms in shops with a wide range of products.

Multiple settings can be combined to fine-tune search behavior.


Configuration Options

Search Term

  • The term for which the replacement should apply.
  • Can be a single word or multiple words.
  • Umlauts (ä, ö, ü) should be entered correctly instead of using “ae”, “oe”, or “ue”.

Replacement

  • Defines the actual term that should be searched instead.
  • Used when a search term does not exist in product data, ensuring users find relevant results.

Example:

Search TermReplacement
Garden LampOutdoor Light

If the replacement includes a category or product group, the search will be restricted to that category.

Example:

Search TermReplacementCategory
Ski JacketSki Jacket (Same Term)Ski Clothing

This ensures that only ski jackets are shown within the Ski Clothing category, instead of displaying all products in that category.


Special Settings

Blacklist Entry

  • Prevents any search from being executed for the given term.
  • Forces a zero-result page.
  • Used when a term could lead to misleading or unwanted results.

Example:

If a brand named “Power Training” exists, searching for it may also return generic fitness devices due to the words “Power” and “Training” appearing in other products. To prevent this, “Power Training” can be blacklisted, ensuring no unintended results appear.


Strict Mode

Enables precise control over when a replacement is triggered.

SettingBehavior
EnabledThe replacement applies only when the exact search term is used.
DisabledThe replacement applies even if the term is part of a longer search query.

Examples

Search TermStrict Mode?Search QueryReplacement Applied?
Shirt✅ Yesred shirt❌ No
red shirt❌ Nored shirt men✅ Yes

Whole Word Matching

Determines whether the replacement applies only to full words or also within compound words.

This feature is relevant primarily for languages with compound words, such as German or Dutch. In English, this setting typically has no effect.

SettingBehavior
EnabledApplies only if the exact word is found.
DisabledApplies even inside compound words.

No Stemming

Determines whether word stems are considered.

SettingBehavior
EnabledReplacement applies only to exact word matches.
DisabledReplacement applies even if word stems match (e.g., singular/plural).

Examples

Search TermNo Stemming?Search QueryReplacement Applied?
Wheel✅ YesBicycle 21 wheels❌ No
Bed❌ NoBeds✅ Yes

Replacement Types

TypeBehavior
replaceA is completely replaced by B.
addB is added to A. Sorting is done across both results.
addAndPreferB is added, but results from B appear first.
preferA remains unchanged, but products also found in B are ranked higher.
preferWithSortLike “prefer”, but results from B maintain their own sorting.
penalizeA remains unchanged, but products also found in B are ranked lower.
deleteA remains unchanged, but products from B are completely removed.

Filters

Filters refine search results before applying a replacement.

Example:

Replacements filter

Expanded filter selection:

Expanded filter selection


Specific Filter Options

FilterBehavior
Search ColorLimits results to items with a selected color.
SizeLimits results to items with a selected size.
Target Audience (“for whom?”)Limits results to specific groups (e.g., men, women, children).
CategoryRestricts search to specific categories (separated by pipes ``). There is the possibility to have unlimited categories, but this will make the search slower. In extreme cases, this could lead to a timeout. This is why it is preferred to limit the categories, or even choose an upper category.
BrandLimits results to selected brands.
Price (Min)Shows only products above a set price (±1 EUR tolerance).
Price (Max)Shows only products below a set price.
Discounted ItemsAllows filtering only discounted or only non-discounted products.
CutOff Limit (Min/Max)Adjusts minimum or maximum search result relevance thresholds. More information about the CutOff limit
Product GroupRestricts search to selected product groups (separated by pipes ``).

Product group filter example


Size Recognition

To correctly interpret sizes in search queries, additional settings can be configured.

Size TypeExamples
Surface Measurement (100x200 cm)Bedding, Furniture
Length Measurement (160 cm / 22 inches)Curtain Rods, Bicycles
TV Size (cm & inches)TVs, Monitors
Surface Measurement in Two FiltersProducts with height & width (e.g., rugs)

Two-Size Filter Handling

  • Enabled (“true”): Searching for “Bedding 155 cm” will find both “155x200 cm” and “155x220 cm”.
  • Disabled (“false”): Searching for “Bedding 155 cm” treats “155” as a single number, not a size.

Testing and Saving Replacements

ActionDescription
SaveSaves all current settings. A comment dialog opens to document the change. Comments help ensure adjustments remain traceable over time.
CancelDiscards new or modified settings.
TestOpens a new tab with the search result for the current configuration and query. Does not trigger a save.

Multi-Tenant Support

If multiple tenants (shops) are configured on the search server, replacements can be applied to one or more tenants simultaneously.

After creation, the selection can be modified as needed.