Data Filters

Data Filters let you add both Include and Exclude filters to place limits on your search results.

Data Filters are a Profile-level feature.

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

Data Filters let you partition your index and focus the search on material that is relevant to a specific audience.

  • 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.)

Data filters interface showing include rules for drama/mystery/adventure keywords and exclude rules for romance, with search field configuration options.

Create a Data Filter

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.

A search field dropdown menu with keywords selected and a Reload Schema button adjacent.

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

Articles in this section