Model
AggregationResolver
Magento\CatalogSearch\Model\Adapter\Aggregation\AggregationResolver
What it does
This class determines which aggregations (facets/filters) should be available for product search results based on the products found.
It filters the requested aggregations to only include attributes that are actually applicable to the attribute sets of the returned products, ensuring users only see relevant filtering options in layered navigation.
Public Methods
- resolve()