Search configuration
Search configuration
Search delivers intelligent, catalog-aware search experiences that help visitors find exactly what they need. It runs on the same product catalog as Recommendations and Merchandising, and is configured from the Search → Configuration page in the Commerce left navigation.
This page covers the four configuration tabs, how visitor-facing suggestions are built, and the query rules that let you fine-tune results.
Configuration
Open Search → Configuration from the left navigation. A banner at the top reflects catalog freshness:
The search index is rebuilt from your catalog on the same synchronization schedule as the rest of Commerce, see Monitoring Commerce deployment health to track refreshes and synchronizations.
Use Preview search (top right) at any time to test queries against your current configuration.

The configuration is split into four tabs:
Relevance
Which attributes are searched and what minimum quality threshold is applied.
Synonyms
Equivalent terms, so a query for one word also matches the others
Query understanding
How much semantic (meaning-based) matching is used, and on which attributes
Advanced parameters
Displayable attributes, Ranking rules, plus language, region and currency settings
Relevance
The Relevance tab controls what search returns and how strictly it matches.
Quality: Result quality threshold
The Result quality threshold filters out irrelevant products. Adjust it to find the right balance between complete results and highly targeted matches that are more likely to convert.
Pick a preset, or set your own value:
Always show results
All matching results, no minimum score
Show only high-quality matches
Matching score ≥ 0.85
Show good-quality matches and above
Matching score ≥ 0.70
Show acceptable matches and above
Matching score ≥ 0.50
Custom threshold
Matching score greater than or equal to the value you enter
Raising the threshold returns fewer, more precise hits; lowering it returns more, broader hits. This corresponds to the rankingScoreThreshold parameter exposed in the Search API.

Ranking parameters: Searchable attributes for ranking
The Ranking parameters section controls Searchable attributes for ranking, "Define which attributes will be used for text search as well as their level of priority."
This is an ordered, draggable priority list. Fields higher in the list carry more weight when matching a query. Each row has drag, up/down, and delete controls, and you add fields with Add other searchable attributes.

Any attribute added here is also used by semantic search by default; see Semantic attributes.
Synonyms
The Synonyms tab lets you group related terms so a query for one returns matches for the others (for example, tshirt and tee-shirt).

Each rule has a type:
One-way
The keyword expands to its synonyms, not the other way round.
trainers → kicks: a search for trainers also returns kicks, but kicks does not return trainers.
Mutual
All terms expand to each other.
sneakers, kicks, trainers: a search for any of them returns all three.
Add a synonym
Create a new rule. Click Add synonym. A new row appears at the top of the table.
Choose the type. Click the type badge to switch between One-way and Mutual.
Enter the terms. * One-way: enter the keyword (for example sneakers), then its synonyms separated by commas (for example trainers, running shoes).
Mutual: enter all equivalent terms in a single comma-separated list (for example sneakers, kicks, trainers).
Save. Click the check mark to save the rule, or the cross to cancel.
Use the search field above the table to find a rule, the pencil icon to edit it, and the bin icon to delete it.
Import synonyms
To add many rules at once, click Import synonyms and paste a JSON object using the following format:
json
Query understanding
The Query understanding tab controls Semantic search. It matches products by meaning rather than exact keywords, so a query like "warm winter jacket" can surface relevant coats even when those exact words are not in the product fields.

Semantic search
Choose how much semantic matching weighs compared with keyword-based relevance:
Fully semantic search
100%
Highly semantic search
60%
Balanced semantic search (default)
50%
Lightly semantic search
40%
No semantic search
0% (keyword-only)
The balance between semantic and keyword matching maps to the semanticRatio parameter in the Search API.
Semantic attributes
Semantic attributes lists your searchable attributes, "Among your search attributes, only the following will be taken into account by the semantic search engine."
Advanced parameters
The Advanced parameters tab groups ranking rules and the settings for multi-language, multi-region and multi-currency catalogs.
Display: Displayable attributes
The Display section controls Displayable attributes, "Define which attributes the search API returns for each result." Each attribute is shown as a removable chip; remove a chip to stop returning that field, or open the dropdown to add one.
The following attributes are always returned and cannot be removed: img_link, link, id, title, price.
Ranking rules
Ranking rules, "Define which ranking parameters are most important to you." Rules are applied in order: when two products tie on a rule, the next rule decides.
Sort
Results are sorted according to the parameters defined at query time (for example price:asc). The higher this rule, the more strictly results follow the requested order, at the expense of relevance.
Exactness
Returns first the documents whose fields match the query terms exactly.
Attribute
Returns first the documents in which the query terms appear in the most important searchable attributes.
Words
Returns first the documents that contain all the query terms.
Typo
Returns first the documents that match the query terms and contain the fewest typos.
Proximity
Returns first the documents in which the query terms appear close to each other and in the same order as in the query string.
Drag a rule, or use its up/down arrows, to change its position.
Add a custom ranking rule
Custom ranking rules rank results by a catalog attribute, such as price, stock, margin or popularity.
Open the dialog. Click Add a custom ranking rule.
Select the attribute. Under Attributes, select a product attribute.
Choose the order. Select Ascending (lower values rank higher) or Descending (higher values rank higher).
Add the rule. Click Add this attribute. The rule is added at the bottom of the list, for example price (Ascending): Results with a lower price value will be ranked higher. Move it up to give it more weight, or use the bin icon to remove it.
Language: Multilingual search
Multilingual search lets customers search your catalog in multiple languages using translated product content.
Enable multilingual search
Allows customers to search your catalog in multiple languages.
Search languages
The languages your customers can use when searching your catalog.
Primary language
Your catalog's original language. It is used whenever translated content isn't available.
Region: Multi-region configuration
Multi-region configuration serves different content per region. A region sits above languages and currencies: one region contains its own languages and currencies, so configure regions first.
Enable multi-region
Serves region-specific product content. Turn it off for a single-region store.
How regions are defined
Countries or Custom regions.
Countries
Every country you serve different content for. At most 32 regions.
Default region
The region served when the shopper has not chosen one. Must be one of the selected regions.
Region fields
The catalog fields that carry region-specific content. Each is stored per language and region (for example link → link_en_it). Other fields are the same in every region.
Currency: Multi-currency
Multi-currency shows catalog prices in one or more currencies, with a default for each shopper.
Enable multi-currency
Shows prices in more than one currency. Turn it off for a single-currency store.
Supported currencies
Every currency your customers can see prices in.
Default currency
The currency shown when the customer has not chosen one. Must be a supported currency.
Price fields
The catalog fields that hold prices. Each is stored per currency (for example price → price_eur). Usually just price.
Autocomplete and suggestions
Autocomplete gives visitors "a fast, intuitive search experience by surfacing relevant search suggestions as they type." It is powered by a dedicated Suggestions index
The suggestions index blends two data sources:
Past search queries
Real queries typed by your visitors over roughly the last 8 weeks.
Catalog-based whitelist
A verified list of allowed terms extracted from your active product catalog and custom configuration.
Suggestions are then ranked by:
Popularity: queries typed by a larger number of unique visitors rank higher.
Relevance: broader terms that match more catalog items are preferred.
Query rules to optimize results
Query rules let you intervene on specific searches to steer relevance and merchandising. Three mechanisms are available:
Redirections: for specific search terms, send visitors straight to a target page (for example, redirect "gift card" to your gift-card landing page). You define the search term and a destination URL.
Custom strategies: query-specific ranking modifications built in the Strategy Builder: define the query conditions, then set the filtering and ranking parameters that apply when the query matches.
Boost & Bury: product-level rules that promote (Boost) or demote (Bury) products across searches, at Major / Moderate / Minor strength. These are the same rules used elsewhere in Commerce, see Creating rules: boost and bury.
Last updated
Was this helpful?

