Exclude or bury some results altogether

Sitecore Search returns paginated results for a search keyphrase in its widgets. This topic describes how you can exclude or bury some results altogether using widget variation rules.

Tip

To additionally target results using the Strategies and Settings sections of a rule in the Customer Engagement Console (CEC), you can configure the Site and Visitor tabs in the Context section.

The following procedures cover scenarios to exclude or bury some results altogether.

Blacklist an item in the results

When you want to exclude an item that appears in search results, you can black list it. The following procedure creates a widget variation with such a rule. When this variation is Active, the results do not contain the blacklisted item.

To blacklist an item in a widget:

  1. To define context for the widget variation rule, follow the steps in the define site context in a widget variation rule or define visitor context in a widget variation rule procedure.

  2. On the menu bar, click Strategy.

  3. Click the Blacklist rules tab.

  4. In the right pane, on the Content items tab, to filter the list by name, in the search input field, enter text or to filter the list by other attributes, click Funnel.

    For details and a performance analytics summary of an item, click Quick Look.

  5. Drag the item to a slot.

  6. Click Save.

  7. To deploy, click Publish.

Bury an item in the results

The following procedure creates a widget variation with a rule. When this variation is Active, the buried item is placed at the bottom of the results. In case of multiple buried items, they are ranked among themselves and then pushed to the bottom of the results.

To bury an item in a widget:

  1. To define context for the widget variation rule, follow the steps in the define site context in a widget variation rule or define visitor context in a widget variation rule procedure.

  2. On the menu bar, click Strategy.

  3. Click the Bury rules tab

  4. In the right pane, on the Content items tab, to filter the list by name, in the search input field, enter text or to filter the list by other attributes, click Funnel.

    For details and a performance analytics summary of an item, click Quick Look.

  5. Drag the item to a slot.

  6. Click Save.

  7. To deploy, click Publish.

Do you have some feedback for us?

If you have suggestions for improving this article,