You can intentionally exclude results from your search engine, such as individual items or many items at once, based on certain filtering rules. To do so, go to your Admin Panel > Search Engines > Business Rules > Excluded Results.
Excluding results by item
To exclude results by item, simply click on '+Add results', 'Individual terms' and type the specific product as registered in the data feed. Select the item (can be more than one at a time) and click the 'Add item' button. Then, save.
📌 Note: The maximum amount of excluded results individually is 100.
The excluded item will appear on the screen:
Excluding results by rules
If you opt to exclude by rules, you must ensure that the specific filter already exists in the product data feed and has been configured as a facet in your facets section. It does not matter whether they are set as visible (shown on the layer) or not.
The rule could be based on brand, best-price, color, size or any other category as per your data feed.
Let’s say you need to filter all products appearing in your data feed by a specific category, simply click on '+Add results', 'Rules':
1.Click on the 'Select field' dropdown menu and choose 'categories', then click on 'select value', to define the category needed. e.g.: Juice.
2.Once selected, click on 'Add rule' and save. This is how your rule will look like:
📌 Note: Your filters can be as specific or as general as you need.
Adding Conditions ‘and’ & ‘or’
Alternatively, you can use conditions when excluding results by rules.
Create an ‘AND’ condition:
If we use 2 filters with different attributes, an AND condition is automatically generated.
Create an ‘OR’ condition:
If you add 2 or more values in the same row, an 'OR' condition will be generated.
Combination of'AND' & 'OR'
Suppose you want to exclude results from two different attributes, so that all products in the specific category "Hoodies" whose color is "green" or "red" should be excluded.
You can do it by combining the 'AND' and 'OR' options in the same rule.
📌 Note: Excluding results by item and filter can be used together.