Skip to main content
The maxValuesPerFacet parameter limits how many facet values are returned per facet in the search response. This helps you focus the user experience on the most relevant facet values, especially in cases where a facet (like brand, author, or genre) has many possible values.
Don’t confuse maxValuesPerFacet with maxFacetHits. maxFacetHits sets the maximum number of returned results when searching for facet values.

Usage

The maximum value for maxValuesPerFacet is . You can set it higher but the engine will interpret it as .

Examples

Set the default number of facet values to retrieve

Current API clients

Set the maximum number of facet values for the current query

Current API clients

This search setting will override the default maxValuesPerFacet setting for the current search.
This search setting will override the default maxValuesPerFacet setting for the current search.
Last modified on July 21, 2026