faceted_navigation.white_list (collection.cfg setting)
This option specifies a list of terms allowed to be displayed in faceted navigation values.
This parameter can be suffixed with the facet name to have it applied only on this facet:
faceted_navigation.white_list.[facet]. If not specified it applies to all facets.
The value is a comma separated list of terms. Only the term from this list will be displayed as values for the given facet. The matches are case-insensitive.
- Because the list is comma-separated, whitelisting values that contain comma is not possible. To whitelist faceted navigation categories creating commas, a custom hook script is required.
Empty (no whitelist)
Only allow "Sydney" on every facet:
Only allow "Sydney" and "Melbourne" for the "Location" facet: