A widget displays the most common values for each facet. Sometimes you might have thousands of different values, and it would be impossible to display them all on the UI. You can make the widget searchable to search for more values based on the user’s query.
Each search query might have different common facet values. What’s visible in the refinement widget depends on which facet values are common for that search query.
It can happen that you select a facet value for one search, change the search query, and the selected facet value disappears. It might be a rare facet value for the new search query. The refinement is still active, but it’s not shown in the user interface.
This can be confusing.
To also show uncommon facet values, ensure that the maximum number of facet values are returned, by using the widget. This gives the widget more data to match its refined values with those returned by Algolia. It has no any incidence on the number of items shown—the boundaries set by limit and showMoreLimit still apply.
snippet#copy" class="copy-link snippet-action btn-satellite btn-satellite-white ml-8">
Copy
1
<Configure maxValuesPerFacet={1000} /