Log in

CatalogSearch Module

Adapter\Aggregation\AggregationResolver

Model

This class determines which aggregations (facets/filters) should be available for product search results based on the products found. It filters the r...

Adapter\Aggregation\RequestCheckerComposite

Model

This composite class validates whether a catalog search request is applicable for aggregation (faceted search) by checking it against multiple registe...

Adapter\Options

Model

This class provides configuration options for Magento's catalog search adapter, specifically related to layered navigation settings. It retrieves syst...

Advanced

Model

This class handles advanced product search functionality in Magento 2, allowing customers to search products using multiple attribute filters simultan...

Advanced\ProductCollectionPrepareStrategy

Model

This class prepares product collections for advanced catalog search by configuring necessary attributes, pricing, visibility, and store filters. Devel...

Advanced\ProductCollectionPrepareStrategyProvider

Model

This class provides the appropriate strategy for preparing product collections in advanced catalog search based on the currently configured search eng...

Advanced\Request\Builder

Model

This class builds search requests for Magento 2's advanced catalog search functionality. Developers use it to bind search criteria values (like price...

Attribute\SearchWeight

Model

This plugin manages the search_weight cache for product attributes in Magento's search functionality. When a product attribute's search_weight is modi...

Autocomplete\DataProvider

Model

This class provides autocomplete/search suggestion data for Magento 2's catalog search functionality. Developers use it to retrieve suggested search q...

Data

Helper

This helper class provides utility methods for catalog search functionality in Magento 2. Developers use it to retrieve the URL for the advanced searc...

Indexer\Fulltext

Model

This class manages the full-text search indexing for Magento 2's catalog search functionality. Developers interact with it when products need to be in...

Indexer\Fulltext\Processor

Model

This processor class manages the execution of Magento's catalog fulltext search indexer. It provides a simplified interface for triggering reindexing...

Indexer\Fulltext\Store

Model

This class acts as an event observer that clears the catalog search index for a specific store when that store is modified. Developers would use this...

Indexer\IndexStructure

Model

This class manages the creation and deletion of catalog search index database structures in Magento 2. Developers interact with this class when custom...

Indexer\IndexStructureProxy

Model

This class acts as a proxy for managing the catalog search index structure in Magento 2, delegating create and delete operations to the appropriate in...

Indexer\IndexSwitcherProxy

Model

This proxy class delegates index switching operations to the appropriate search engine-specific handler (like Elasticsearch). Developers typically don...

Indexer\Mview\Action

Model

This class handles partial reindexing of catalog search data when specific products are modified. It's automatically triggered by Magento's MView syst...

Indexer\Scope\ScopeProxy

Model

This proxy class dynamically resolves the correct index scope resolver based on the current indexer state (e.g., temporary vs. permanent tables during...

Indexer\Scope\State

Model

This class manages the state of which database table to use during catalog search indexing - either the main production table or a temporary table. De...

Indexer\Scope\UnknownStateException

Model

This exception class is thrown when an indexer encounters a state that is not defined in the configuration during catalog search indexing operations....

Layer\Category\ItemCollectionProvider

Model

This class provides product collections for catalog search category layers in Magento 2. Developers use this to retrieve filtered product collections...

Layer\Filter\Attribute

Model

This class handles attribute-based filtering in Magento 2 catalog search and layered navigation. Developers use it to filter product collections by at...

Layer\Filter\Category

Model

This class manages category filtering for search results in Magento 2's layered navigation. Developers use this filter to allow customers to narrow se...

Layer\Filter\Decimal

Model

This class handles decimal/numeric range filtering in Magento 2 catalog search layered navigation. Developers use this when implementing filterable pr...

Layer\Filter\Price

Model

This class handles price range filtering for catalog search results in Magento 2's layered navigation. Developers use it when implementing or customiz...

Layer\Search\StateKey

Model

This class generates unique cache keys for search-based layered navigation states in Magento 2. Developers use this to ensure that different search qu...

Model\Adapter\Aggregation\RequestCheckerInterface

Interface

This interface defines a contract for checking if attribute aggregation should be performed for a search request. Developers implement this interface...

Model\Advanced\ProductCollectionPrepareStrategyInterface

Interface

This interface defines a strategy pattern for preparing product collections in advanced catalog search functionality. Developers implement this interf...

Model\Indexer\IndexStructureFactory

Factory

This factory creates the appropriate index structure handler based on the configured search engine (MySQL, Elasticsearch, etc.). Developers use this w...

Model\Indexer\IndexSwitcherInterface

Interface

This interface defines the contract for switching between main and temporary search indexes in Magento 2. Developers would implement this interface wh...

Model\Indexer\IndexerHandlerFactory

Factory

This factory class creates the appropriate search indexer handler based on the currently configured search engine (e.g., Elasticsearch, MySQL). Develo...

Model\ResourceModel\Advanced\Collection

Collection

This collection class handles Magento 2 advanced catalog search functionality, allowing developers to build complex product search queries with multip...

Model\ResourceModel\EngineInterface

Interface

This interface defines the contract for catalog search engine implementations in Magento 2. Developers use this to create custom search engine adapter...

Model\ResourceModel\Fulltext\Collection

Collection

This collection class handles full-text search functionality for Magento 2 product collections. Developers use it when implementing catalog search fea...

Model\ResourceModel\Search\Collection

Collection

This collection class handles search functionality for catalog products in Magento 2. Developers use it to filter and retrieve product collections bas...

Model\Search\ItemCollectionProviderInterface

Interface

This interface defines a contract for retrieving search result collections in Magento's catalog search functionality. Developers implement this interf...

Model\Search\RequestGenerator\GeneratorInterface

Interface

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

Model\Search\Request\ModifierInterface

Interface

This interface defines a contract for modifying search request configurations in Magento's catalog search functionality. Developers implement this int...

Price\Interval

Model

This class manages price interval calculations for layered navigation filtering in Magento 2 catalog search. Developers use it to load product price r...

ResourceModel\Advanced

Model

This resource model handles database operations for advanced catalog search functionality in Magento 2. Developers use this class when implementing ad...

ResourceModel\EngineProvider

Model

This class acts as a factory provider for the catalog search engine in Magento 2. Developers use it to retrieve the currently configured search engine...

ResourceModel\Fulltext

Model

This resource model manages the catalog search fulltext index table and search query operations in Magento 2. Developers use it to reset search result...

Search\Catalog

Model

This class handles backend/admin panel search functionality for catalog products. Developers would use this when implementing or extending the admin s...

Search\Category

Model

This class provides category search functionality for Magento's admin panel backend search. It loads and filters categories based on search queries, r...

Search\ItemCollectionProvider

Model

This class provides the appropriate search result collection based on the configured search engine (like Elasticsearch, MySQL, or OpenSearch). Develop...

Search\ReaderPlugin

Model

This plugin intercepts the reading of search configuration data and modifies it through a request modifier before returning it. Developers would use t...

Search\RequestGenerator

Model

This class generates dynamic search request configurations for Magento 2's catalog search functionality. Developers use it when they need to understan...

Search\RequestGenerator\Decimal

Model

This class generates search request configurations for decimal/numeric product attributes in Magento's catalog search, particularly for price and othe...

Search\RequestGenerator\General

Model

This class generates search request configurations for catalog product attributes in Magento 2's search functionality. Developers use it to define how...

Search\RequestGenerator\GeneratorResolver

Model

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

Search\Request\MatchQueriesModifier

Model

This class modifies search request queries by adding additional field configurations to match queries based on predefined query mappings. Developers u...

Search\Request\ModifierComposite

Model

This class acts as a composite container that applies multiple search request modifiers in sequence. Developers use this to chain multiple modificatio...

Search\Request\PartialSearchModifier

Model

This class modifies partial search query configurations by adjusting search field matches based on searchable product attributes. It removes non-searc...

Search\Request\SearchModifier

Model

This class modifies search request configurations by merging them with dynamically generated search requests from the RequestGenerator. Developers wou...

Source\Weight

Model

This class provides weight options (1-10) for search attribute configuration in Magento's catalog search. Developers use this when configuring how hea...