Overview
Blocking and exclusions provide hard filters that completely remove products from search results. Use these when products should never appear, regardless of search query or user context.Use Cases
- Out of stock: Remove products with zero inventory
- Policy compliance: Block products that violate policies (age restrictions, regional bans)
- Quality control: Exclude products with poor quality scores or missing data
- Legal restrictions: Block products that can’t be sold in certain regions
- Vendor restrictions: Exclude products from specific vendors or suppliers
- Discontinued items: Remove products that are no longer available
Blocking Types
Product-Level Blocking
Block specific products by ID or SKU:Attribute-Based Blocking
Block products matching certain attributes:Category-Level Blocking
Block entire categories:Brand-Level Blocking
Block all products from specific brands:Exclusion Rules
Exclusions are similar to blocks but can be more nuanced:Conditional Exclusions
Exclude products conditionally:Query-Specific Exclusions
Exclude products only for specific queries:Segment-Specific Exclusions
Exclude products for specific customer segments:Regional Exclusions
Block products based on geographic location:Inventory-Based Blocking
Automatically block out-of-stock items:Quality-Based Exclusions
Exclude products with quality issues:Temporary Blocks
Block products for a specific time period:Best Practices
- Use sparingly: Blocking removes products entirely—ensure it’s necessary
- Document reasons: Always specify why products are blocked
- Monitor impact: Track how blocking affects result counts and user experience
- Set up alerts: Get notified when blocking rules remove too many results
- Use fallbacks: Combine with fallback strategies to handle low result counts
- Review regularly: Periodically review blocked products to ensure they should remain blocked
Fallback Behavior
When blocking removes too many results:- Relax rules: Automatically relax blocking rules if result count is too low
- Show alternatives: Display similar products that aren’t blocked
- Inform users: Show messages explaining why results are limited
Related Topics
- Boost and Bury - For score adjustments that influence position without removing items
- Campaign Rules - For time-bound promotions that might include temporary exclusions
- Compliance Rules - Policy-based blocking and exclusions