You can purposely exclude results from your search engine. This can be done under the Excluded Results section as found in the Custom Results section of Doofinder’s admin panel. Here you can exclude results by item or by a filter.
Excluding results by item
To exclude results by item, all you have to do is type in the specific product as it has been registered under the product data feed. Once it appears, press the add (+) button that appears on the right-hand side of the item listed.
📌 Note: The maximum amount of excluded results individually is 100.
The excluded item will appear on the right column as shown in the following image:
Excluding results by filters
If you opt to exclude by a filter, 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. No matter what they are configured as visible (showed in the layer) or not.
This could be a filter based on colour, brand, size or any other category as per your data feed.
Say you need to filter all Groceries’ products as listed in your data feed. On the categories drop-down section under filters, select the Groceries category. Then at the bottom, select the Add Filter button.
The filtered item will automatically appear in the right-hand side column just as it did with the items.
📌 Note: Your filters can be as specific or as general as you need.
Alternatively, you can use conditions when excluding results by filters.
Say you want to exclude results under two categories; colour and size, such that all products under the specific colour and of a certain size are to be excluded.
To do this, select the first filter such as filter by colour category blue.
Then at the bottom of the same column, select the +Add Condition button. This will allow you to select a second filter such as size. Whereby you can then exclude the product(s) by colour and by specific size as needed.
The condition, in this case, is an ‘either or’ type of condition. such that should you select to filter ‘blue’ category and then add the condition of ‘green’ category, items under either green or blue category will be filtered conditionally.
📌 Note: Excluding results by item and filter can be used together.
Should you encounter any problems, please contact firstname.lastname@example.org
Last Updated: July, 2021