faceted_navigation.white_list
Include only a list of specific values for facets.
Key: faceted_navigation.white_list
Type: List<String>
Can be set in: collection.cfg
Description
This option specifies a list of terms allowed to be displayed in faceted navigation values.
This option applies to all facets, see faceted_navigation.white_list.facet for setting a white list for a specific facet.
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.
Default Value
Empty (no whitelist)
Examples
Only allow "Sydney" on every facet:
faceted_navigation.white_list=Sydney
⚠ Caveats
- 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.