Filter rules for search

This is for:

Merchandiser

In the Coveo Merchandising Hub (CMH), merchandisers can define filter rules to control which products appear on a search results page.

Search filter rules let merchandisers define conditions that products must meet to be included or excluded from a query’s result set. For example, a merchandiser could create a filter rule to hide all products that are out of stock from the search results.

Filter rules can apply to all queries or to one or more specific queries. They can also be scheduled for a specific time, letting merchandisers plan and execute their strategies more effectively.

Filter rules for search | Coveo

Use case examples

Filter rules can be used to address a variety of use cases. Here are a few examples:

  • Hide out-of-stock products: Hide products that are out of stock from the search results.

  • Show specific products: Ensure that specific products are always displayed when a certain query is performed. For example, you could create a rule that will ensure products from a specific brand are included when the brand name is searched.

  • Hide specific products: Hide specific products from the search results when a certain query is performed. For example, you could create a rule that will hide all products from a specific category when an unrelated category is searched.

Prerequisites

To create rules in the Coveo Merchandising Hub (CMH), you must meet the following prerequisites:

Create a filter rule

You can create two types of filter rules. Depending on the type of filter rule that you want to create, refer to the following articles for specific instructions:

  • Include: Products that meet the conditions will be included in search results.

  • Exclude: Products that meet the conditions will be hidden from the search results.