Log in
Model

GeneratorResolver

Magento\CatalogSearch\Model\Search\RequestGenerator\GeneratorResolver

What it does

This class resolves and returns the appropriate search request generator based on attribute type in Magento's catalog search functionality.

Developers would use this to get the correct generator implementation when building search requests for different attribute types (text, decimal, select, etc.).

Note that this class is deprecated and replaced by ElasticSearch module functionality.

Public Methods

  • getGeneratorForType()