Log in
Model

ScopeProxy

Magento\CatalogSearch\Model\Indexer\Scope\ScopeProxy

What it does

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

permanent tables during reindexing).

Developers would use this when working with catalog search indexing to ensure queries target the appropriate index table depending on whether indexing is in progress or complete.

Note: This class is deprecated as MySQL search engine support has been removed in favor of Elasticsearch.

Public Methods

  • resolve()