Facets

Facet modules let users select subsets of the search results. They are field-based groups of search results. For example, if the department field is chosen as a facet, then users can click the facets computers, appliances, and so forth to view those subsets of search results.

If you use a Facets module, embed it in the page in which the Results module is embedded.

Example

The pointer in this screenshot points to a Facets module.

Facets module

Configuration options

Location Option Description

Edit Module

Facet field names and optional display names

Specify the fields on which to facet. Optionally, specify display names for the facets.

Edit Module

Advanced configuration settings

Advanced configuration settings include:

  • Show – Number of facets to show initially. This is a maximum. If there are fewer facets, then only those are displayed.

  • Show More – Number of additional facets to show when a user clicks the Show more control

  • Show More Label – Label that the user clicks to show more facets. The default is Show more.

  • Show Less Label – Label that the user clicks to display fewer facets. The default is Show less.

Embed Module

UI language

UI language for the Search Box. To specify a different UI language for an embedded module (or to explicitly specify English), add a language URL parameter in the loader.js URL in the embed snippet that you copy to the <head> element.

Embed Module

Search language

Override the default search language for a specific Search Box module. In the snippet for the Search Box, include a language attribute in the <cloud-search-box> element, for example, <cloud-search-box language="fr"></cloud-search-box>.

To configure a Facets module

See Configure modules.

Style Facets modules with CSS

You can use cascading style sheets (CSS) to style Facets modules.