Configure Search Results Facets

You can configure the display of facets on the search results page. You can use the top facet list attribute in the facet widget to:
  • reorder facets

  • hide facets

  • rename facets

The following list shows the default order in which the facets display on the results page.
  • Document Types

  • Collections

  • Categories

  • Products

The following table describes four values with an example each on how to reorder, hide, or rename the facets using the top facet list attribute. You must separate the facets by the pipe (|) character and use the comma (,) character for the facet label description.

Attribute Values for Configuring Facets

Configuration To display on the results page Attribute Value

Default

Document Types, Collections, Categories, Products

<rn:widget path=”okcs/Facet” top_facet_list=”DOC_TYPES, Document Types|COLLECTIONS, Collections|CMS-CATEGORY-REF, Categories/CMS-PRODUCT, Products”/>

Reorder

Categories, Products, Collections, Document Types

<rn:widget path=”okcs/Facet” top_facet_list=”CMS-CATEGORY-REF|CMS-PRODUCT|COLLECTIONS|DOC_TYPES”/>

Hide

Document Types, Collections, Categories

<rn:widget path=”okcs/Facet” top_facet_list=”DOC_TYPES|COLLECTIONS|CMS-CATEGORY_REF”/>

Rename

MyCategory, MyDocuments, MyProduct, MyCollections

<rn:widget path=”okcs/Facet” top_facet_list=”CMS-CATEGORY-REF, MyCategory|DOC_TYPES, MyDocuments|CMS-PRODUCT, MyProducts|COLLECTIONS, MyCollections”/>