Facet Types

This article describes the different types of facets that you can use in your Coveo-powered search interface (see Using Facets).

Regular Facet

Regular Facet

A regular facet shows a list of values for a metadata field. An end user can select or exclude each of these values, as well as search for values.

Regular facets support both regular and multi-value fields. Search results with more than one value for a facet field are kept in the search result page from the moment you select one of these values in the facet. Ensure that you selected the Multi-value facet field option for the multi-value fields you use for your facets.

The values in a regular facet are typically sorted from most to least frequent or arranged in either ascending or descending alphanumeric order. You can also configure a custom sort in the Interface Editor.

Other customization options for regular facets include changing the number of values displayed in the facet and only allowing specific values to be displayed.

Range Facet

Range Facet

A range facet is similar to a regular facet, but its options are ranges of numerical values instead of single values. These ranges are computed from the facet field values of the query results.

Some of the options that are available for regular facets are also available for range facets (see Facet Range for more details).

Timespan Facet

Timespan Facet

A timespan facet is similar to a range facet, but it allows end users to select a range of dates rather than numerical values.

This facet only offers prebuilt ranges. To customize your own range options, use the range facet.

Slider Facet

Slider Facet

A slider facet contains a widget that allows end users to filter results based on a range of numerical values (e.g., dates or prices). Above the slider widget, a graph shows the relative number of results for each value.

One customization option allows you to define steps for your slider facet. This splits the range evenly into a specific number of values, and end users can only select from among these step values. For example, if your range is 0 to 100 and you choose to use 10 steps, an end user can only move the slider in multiples of ten (e.g., 0, 10, 20). You can also offer a range slider (two buttons), which allows end users to specify a beginning and ending value for the range, instead of a regular slider (one button).

Category Facet

A category facet displays values hierarchically (see Using the Category Facet Component). It determines which filter to apply to the search results based on the selected value path (i.e., a sequence of values leading to a specific value in the hierarchy).

If some of the items in your index follow a logical hierarchical structure, you may want to display a category facet to allow end users to filter your items accordingly. When an end user selects a value, the facet updates and shows child values.

Dynamic Facet

A dynamic facet leverages Coveo Machine Learning (Coveo ML) Dynamic Navigation Experience (DNE) to reorder its values based on previous end-user interactions with your Coveo-powered search interface (see Using Dynamic Facets).

You can also embed dynamic facets within a facet manager so that Coveo ML DNE can reorder the facets automatically.

What’s Next?

Continue editing your search interface using the Interface Editor.

Recommended Articles