- Type:
integer
- Default:
10
- Max:
1,000
- Scope:
settings,search
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 formaxValuesPerFacet
is 1,000.
You can set it higher but the engine will interpret it as 1,000.
Examples
Current API clients
Current API clients