Log in
Model

Search

Magento\Catalog\Model\Layer\Search

What it does

This class represents the product layer specifically for search results pages in Magento 2.

Developers use this class when building or customizing search functionality, as it manages the product collection, filtering, and layered navigation (faceted search) for search result pages.

It extends the base Layer class but is specifically instantiated when customers perform catalog searches.