Log in
Model

RequestGenerator

Magento\CatalogSearch\Model\Search\RequestGenerator

What it does

This class generates dynamic search request configurations for Magento 2's catalog search functionality.

Developers use it when they need to understand how search queries, filters, and aggregations are automatically built based on product attributes for catalog view, quick search, and advanced search containers.

It processes searchable and filterable attributes to create the proper request structure for the search engine.

Public Methods

  • generate()