Log in
Interface

GeneratorInterface

Magento\CatalogSearch\Model\Search\RequestGenerator\GeneratorInterface

What it does

This interface defines the contract for generating search request data in Magento's catalog search functionality.

Developers implement this interface to create custom generators that produce filter and aggregation configurations for product attributes, enabling layered navigation and search faceting.

It's used when extending or customizing how product attributes are indexed and filtered in catalog search results.

Public Methods

  • getFilterData()
  • getAggregationData()