Catalog Search highlighting, facet value search, and ranking settings
MINOR Catalog Search highlight settings
Search profiles now control how matched words are highlighted in search hits, so highlights match your storefront's markup and show the right amount of each field.
What's New?
highlight_settings.fields- Choose which fields are highlighted, including fields the profile does not queryhighlight_settings.full_fields- Return the whole marked-up value of chosen fields. Thehighlight_full_fieldsrequest parameter overrides it per requesthighlight_settings.start_tagandend_tag- Set the tags wrapped around matched words. Defaults are<mark>and</mark>highlight_settings.snippet_thresholdandcontext_num_tokens- Control when a long field is trimmed to a snippet and how many words are kept either side of each match
For details see:
MINOR Catalog Search facet value search
Search within the values of a facet, so storefronts can offer a searchable filter list for facets with many values, such as brands.
What's New?
facet_queryrequest parameter - Returns only the values of onefacet_byfield that match the text, each with its count and a highlighted labelfacet_settings.query_num_typos- Set how many typos a facet query corrects, from0to2. Defaults to2
For details see:
MINOR Catalog Search ranking settings
Search profiles now expose two relevance ranking signals, and a new guide explains how relevance, boosts, sorting, and pins combine into the final result order.
What's New?
ranking_settings.prioritize_exact_match- Rank products whose field contains only the query words above longer matches. On by defaultranking_settings.prioritize_token_position- Rank products whose field matches a query word nearer the start of the field higher. Off by default- How Ranking Works guide - Covers the relevance signals, text match types, boost scores, and request
sort_by
For details see: