Log in
Model

Search

Magento\Catalog\Model\ProductLink\Search

What it does

This class provides functionality to search for products that are visible in the catalog based on a search keyword.

Developers would use this class when implementing product search features, such as autocomplete or product suggestion widgets, where they need to retrieve a paginated list of products matching specific search terms.

It handles the creation and configuration of product collections with fulltext search filters and pagination.

Public Methods

  • prepareCollection()