Data Filters

Site Search > Configurations > Advanced Configurations > Data Filters


Precedence of Features

A Search Profile applies Data Filters first, then Ranking, Rules, Smart Ranking, and finally Promotions.

Data Filters screen let you add both Include and Exclude filters to place limits on your search results. They allow you to partition your index and focus the search on relevant material.

  • Include patterns require a result item to match a field value to be displayed to the search user.
    • A single Include pattern can list multiple ORed values (“red OR white OR blue”). A search result must match one of these values to be displayed to the search user.
    • Multiple Include entries are ANDed. For a result item to be displayed to the search user, it must match at least one value from each entry.
  • Exclude filters suppress search items that match a specific field and value. Multiple exclude filters are ORed. Any entry that matches excludes the result item from view.

The filters do not support regex or wildcard matching.

It is not possible to include and exclude the same field. A maximum of 20 Include and Exclude entries can be added. (An include pattern with multiple ORd values still counts as only one of the 20.)

Site Search Global Filters screen, showing both inclusive and exclusive global search filters.

To create a filter, select a Search Field, specify a matching Value, and click the (+) button. To delete a filter, click the associated (X) button.

Note the Reload Schema icon above the list of fields. If you can’t find a field in the list, try reloading the schema. Changes to your website’s Solr schema are not automatically updated in Site Search.

Do not forget to Save and Publish your changes if you want to see them in the Preview.

Questions?

Do not hesitate to contact the SearchStax Support Desk.