Conflict resolution within facet management
This page outlines and illustrates examples in cases where conflict resolution may be needed for facet management. In general, rules with more specificity are weighted higher than generic rules (eg: global rules).
Hierarchy of rules
Each rule has 4 properties, based on priority:
- Audience: rules with an audience are prioritized over rules without audiences.
- Site: site-specific rules are prioritized over rules with no site specificity. The priority order for different site-level rules is mentioned here.
- Query: single query rules are prioritized over rules with multiple queries (eg: "blue lace dress" has higher weight than "blue lace dress"|"blue dress").
- Matching: exact match rules are prioritized over phrase match, and phrase match rules are prioritized over global match rules (eg: rules for "collared shirt" search term are prioritized over a global rule).
Site-level priority order
Rules at Global and Local level take priority in the following order:
- Site Local rule
- Site Global rule
- Site_Group Local rule
- Site_Group Global rule
- Account Local rule
- Account Global rule
For facet management rules
Each rule has the following operations:
- Blocked
- Allow (ie. Always Show)
- Boosted (implicitly allowlisted)
- Buried (ie. Always Hide; implicitly allowlisted)
- Rules precedence is Blocked > Allowed > Boosted > Buried. Any facet that is boosted or buried is implicitly allowlisted.
Examples
-
John creates a "shirts|tank tops|tees" search page rule, in which he blocks the "color" facet. However, on another search page rule ("tshirts|shirts|shirt"), he chooses to Always Show the "color" facet.
- In this example, when a user searches for "shirt" on the site, they will not see the "color" facet since John's blocklist rule takes precedence over his allowlist rule.
-
John globally blocks the "sale_price" facet, and chooses to Always Show the "sizes" facet on Women's Casual Dresses|Women's Daytime Dresses category pages. He creates another rule on the Women's Casual Dresses category page, in which he blocks the "sizes" facet.
- In this example, when a user lands on the Women's Casual Dresses page, they will not see the "sizes" or "sale_price" facets. When a user lands on the Women's Daytime Dresses category page, they will not see the "sale_price" facet but will see the "sizes" facet.
-
John creates a "cardigans" search page rule, in which he chooses to Always Hide the "is_new" facet. Sophia, another merchandiser on John's team creates a "cardigans|button down sweater" rule, in which she targets all mobile device users and chooses to Boost & Always Show the "is_new" facet.
- In this example, mobile users who search for "cardigans" or "button down sweater" will see the "is_new" facet on those result pages. All other device users will not see the "is_new" facet.
Glossary
Global rule: refers to a rule created that impacts the entire site (eg: a global ranking rule or a global facet rule)
Local rule: refers to a rule that only impacts a specific page (eg: a search or category ranking rule; a search or category facet management rule)
Updated 4 months ago