Heretto Portal Search Facets
Search Facets Overview
Configure custom portal search facets to refine search results and improve user experience in Heretto Portal. This configuration enables you to use taxonomy metadata to create search facets that meet your user and content needs.
A search facet is a specific attribute or characteristic of search results that can be used to filter and refine search results. Facets enable users to narrow down search results based on various categories or criteria, making it easier to find relevant information quickly.
Faceted search is particularly useful because it provides an intuitive way to narrow down large result sets by applying multiple filters simultaneously. This helps users manage the complexity of searching vast amounts of information by breaking it down into manageable, relevant segments.
Heretto Portal has two types of search facets available: facets based on the structure of your main sitemap and facets based on taxonomy metadata.
- Sitemap Structure-based Facets
-
Facets that are automatically added to your portal based on the structure of your main sitemap. For example, if your main sitemap contains six tiles, each for a different product or product group, the search page in your portal automatically includes a search facet group with six search facets, each representing a product or product group. As a result, it is easy to narrow down your search results by subject.
- Taxonomy Metadata-based Facets
-
Custom facets that can be configured in Heretto CCMS and Heretto Portal. This facet type leverages taxonomy metadata that you configure and assign to files in the CCMS. You can use these search facets in both the CCMS and portal. You have full control over which metadata is available as a portal search facet. This approach enables you to create custom search facets designed specifically for your content and audience.
If you work with the Heretto team to design and build Heretto Portal as part of the implementation process, we set up search facets for you. However, it's important that you understand how to manage your search facets so you can make future changes to them.
In this section, we explain how to:
- Configure search facets
- Localize search facets that are based on taxonomy metadata
- Add custom search facets to a portal environment
- Complete configurations for both the CCMS and portal
Search Facets Operation and Guidelines
Before you configure search facets, familiarize yourself with a number of facts and guidelines related to setting up and working with search facets.
- General
-
-
Taxonomy metadata is the only metadata type that can be configured as search facets. To learn more about metadata types, see Metadata Types in Heretto.
-
If search facets are configured in Heretto Portal but metadata they use is disabled on the deployment level, search facets become unavailable in portal (just as if they weren't configured).
-
If search facets are configured in Heretto Portal and metadata they use is enabled on the deployment level but the metadata is not added to any files published to portal, search facets return no results.
-
By default, taxonomy metadata added to files is automatically shown as tags at the bottom of a portal page and in search results. This happens even if taxonomy metadata is not configured as search facets.
Figure 1. Metadata tags at the bottom of a portal page.
-
Search Facet Configuration Process
To configure search facets in Heretto Portal you create a taxonomy, enable it as metadata in Heretto CCMS, assign the metadata to files, enable metadata in deployments, and finally configure it as search facets in your portal.
This process outlines the necessary steps to configure search facets, including required and optional steps. Unless stated otherwise, all steps are required.
The search results page in your portal now includes additional search facets that anyone with access to your portal can use to refine their search results. Because you configured your search facets in the master branch in Heretto CCMS, currently, your search facets are visible only in the portal environment associated with the master branch.
Push all files you modified from the master branch to other branches associated with your portal environments to ensure your changes are present there. Use the mechanism. doesn't push CCMS metadata. Then, publish your changes from the Deployments interface (Administrators only).
Create a Taxonomy with Search Facets
Search facets are a finite, controlled set of attributes a user can use to refine their search results in Heretto Portal. To ensure your search facets are organized well and easy to use, you start by organizing them in a taxonomy in Heretto CCMS.
You create a taxonomy for search facets just like any other taxonomy in the CCMS. You can create one or more taxonomy for your search facets. To create a taxonomy, you need to be assigned the Administrator role in the CCMS.
You added a taxonomy in the CCMS and populated it with terms. It is not visible anywhere outside of the Taxonomy interface. You are ready to enable the taxonomy as metadata.
Enable Search Facet Taxonomy as Metadata
With your search facet taxonomy ready in Heretto CCMS, you can now enable it as metadata in the CCMS. As a result, you will be able to assign that metadata to files and search for files in the CCMS.
You enable your search facet taxonomy as metadata just like you would any other taxonomy. To enable a taxonomy as metadata, you need to be assigned the Administrator role in the CCMS.
Your metadata category should look similar to this. Note the empty third field (expected).
Add Search Facet Metadata to Files
With your taxonomy and metadata configured, you are ready to add metadata to files in Heretto CCMS.
Search facets that are configured but not added to any files are not visible in portal.
You can add metadata to files individually in the Resource Drawer or to a group of files in a bulk operation. Users assigned the Administrator, Editor/Manager, and Author roles in Heretto CCMS can add metadata to files in the CCMS.
You add search facet metadata to files on the master branch. Once configured, that metadata becomes search facets in the environment that is associated with the master branch. To see search facets in other portal environments, including production, you need to push all your changes from master to branches associated with those portal environments.
Add metadata to files individually
Add metadata to files in a bulk operation
Your files now have metadata assigned to them. You can view the metadata for a file by clicking the file and scrolling down in the Overview tab of the Resource Drawer. From there, you can also expand the API Info view and click REST URL to view all metadata for a file.
You are now ready to enable the metadata as Heretto Portal search facets. If you localize your content, this is also a good moment to send your search facets for localization.
Send Portal Search Facets for Localization
When publishing localized content to Heretto Portal, ensure that your custom search facets are localized to the same languages (and locale codes) as your content. For example, if you localize your content to German (the de-de locale code), localize your search facet labels to German and associate them with the de-de locale code.
Once configured, when a user switches to German in your portal, both content and search facets are available in German.
Once you get the localized search facets back from your LSP, you can add them to your portal configuration.
Add Localized Portal Search Facets to Portal Configuration
Navigate to the config.json file
Open the config.json file in the Source Editor and find i18n
Add the locale code to config.json
Associate metadata name values (identifiers) with localized labels (search facets) in config.json
Add localized taxonomy entries (search facets) to config.json
Enable Search Facet Metadata in Deployments
Metadata governance support was introduced in Heretto CCMS 25.10.30 and Heretto Portal v5, and requires a two-step activation process. First, the Heretto team must enable the feature in Heretto CCMS. Once that's done, a user assigned the Administrator role in the CCMS must enable and configure metadata in each deployment. Contact your Customer Success Manager to get started.
Ensure your search facet metadata is enabled in deployments that publish your content to Heretto Portal or a third-party endpoint, like a machine or device.
By default, metadata configured in the CCMS is not enabled in deployments and therefore it is excluded from output.
This procedure can be completed only by users assigned the Administrator role in Heretto CCMS.
Enable metadata processing in a deployment (one-time action)
Enable search facet metadata in a deployment
The enabled metadata is included in active sync deployments upon saving. Manual deployments must be published. Once processed, the enabled metadata will be served to Heretto Portal or a third-party delivery endpoint, like a machine or device.
Configure Metadata as Portal Search Facets
Navigate to the config.json file
Open the config.json file in the Source Editor
Populate the facets parameter with metadata Name values
If the deployment from the master branch to Heretto Portal uses the active sync deployment type, your facets are visible in the portal environment associated with your master branch instantaneously. If the deployment uses manual deploy, a user assigned the Administrator role in the CCMS needs to publish it to portal from the Deployments interface available under the Main Menu .
If you want to arrange your search facets in a specific, custom order, see Change the Order of Search Facets.
Push all files you modified from the master branch to other branches associated with your portal environments to ensure your changes are present there. Use the mechanism. doesn't push CCMS metadata. Then, publish your changes from the Deployments interface (Administrators only).
Change the Order of Search Facets
You can rearrange the order of search facets by overriding the default sorting order.
Navigate to the config.json file
Open the config.json file in the Source Editor
Add the facetsAdvancedSettings parameter to the config.json file
If the deployment from the master branch to Heretto Portal uses the active sync deployment type, your facets are visible in the portal environment associated with your master branch instantaneously. If the deployment uses manual deploy, a user assigned the Administrator role in the CCMS needs to publish it to portal from the Deployments interface available under the Main Menu .
Push all files you modified from the master branch to other branches associated with your portal environments to ensure your changes are present there. Use the mechanism. doesn't push CCMS metadata. Then, publish your changes from the Deployments interface (Administrators only).