Search rules

We can create search rules to influence the ordering and contents of search results on the site. Search rules are typically used to promote specific catalog entries by displaying them on the first page of the search results, or to order catalog entries according to a specific attribute, such as price. Here are some examples of search rules we can create using the Search Rule Builder:

You create search rules in a graphical editor called the Search Rule Builder. All search rules are triggered by a customer submitting a search, and therefore start with the Customer Submits Search trigger.

Note: Search terms are case-insensitive. For example, the term Coffee Makeris the same as coffee maker. Search rules must contain an action, which modifies the shopper's original search request to influence the order or content of the search result. Optionally, the rule can contain a target, placed to the left of an action. The target defines which customers experience the action. For example:

The search rule looks like this:

Where:


What search rules can display

Search rules can modify search results and how they are displayed in the storefront. Your options include:

Similar to Web and Dialog activities, the option you choose in the Search Rule Builder is represented as an icon, known as an action, in the search rule flow. In the above example of a search rule, Specify Top Search Results is an action element.


Search rules list

The search rules list displays all search rules created in the Marketing tool using the Search Rule Builder. We can search for search rules targeting specific keywords to narrow down the scope of the list. We can display the search rules that apply to a specific keyword by entering that keyword in the search field.


Limitations for multi-language sites

If the site uses multiple languages, there are limitations when using language-specific filters or ranking criteria, such as name or short description, in our search rules or web activities. The filters and ranking criteria apply only to a single language. For example, we might decide to elevate specific television sets by assigning a higher boost factor to televisions with a specific phrase in their description (such as plasma TV), If so, the boost factor applies only to search results for an English language site. This is due to it being unlikely that the phrase plasma TV will match on sites that use other languages.


Related concepts
Activity Builder
Branches in marketing activities
Differences between the branch element and the experiment element
Search rule experiments


Related tasks
Improve storefront search results by using search term associations
Testing a search rule in store preview
Creating a dedicated thread pool for WebSphere Commerce REST requests
Manage search rules
Manage search rule experiments
Example: Fine-tuning search rule ranking factors using store preview data