Log in
Model

Search

Magento\Catalog\Model\Layer\Search

What it does

This class represents the layered navigation (filtering) layer specifically for search results pages in Magento 2.

Developers use this class when implementing custom search functionality or modifying how filters are applied to product search results, as opposed to category browsing.

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