Semantic rules are hand-authored rules that use meaning (not just keywords) to route or boost results. Use them to capture brand, attribute, or intent nuances your ML models miss.
Semantic rules are if-this-meaning-then-that-action policies. They trigger on intents, entities, relations, or contexts (e.g., “waterproof” ⇒ add Waterproof facet; “gift card” ⇒ redirect to landing; “GTX” ⇒ map to GORE-TEX attribute) and apply synonym expansions, boosts, filters, redirects, or badges.
Semantic rules give precise, explainable control over meaning-driven cases. Keep them late-bound, capped, localized, and well-logged.
Semantic rules vs synonyms? Rules can set filters/boosts/redirects; synonyms only change tokens.
Rules vs LTR? Rules are deterministic guardrails; LTR learns ordering from data.
See these concepts in action: semantic, typo-tolerant search for Shopify stores — implemented by Rapid Search