Log in
Interface

EngineInterface

Magento\CatalogSearch\Model\ResourceModel\EngineInterface

What it does

This interface defines the contract for catalog search engine implementations in Magento 2.

Developers use this to create custom search engine adapters that handle product indexing, visibility rules, and attribute value processing.

It's primarily used when building integrations with third-party search engines like Elasticsearch or implementing custom search functionality.

Public Methods

  • getAllowedVisibility()
  • allowAdvancedIndex()
  • processAttributeValue()
  • prepareEntityIndex()