Model
IndexSwitcherProxy
Magento\CatalogSearch\Model\Indexer\IndexSwitcherProxy
What it does
This proxy class delegates index switching operations to the appropriate search engine-specific handler (like Elasticsearch).
Developers typically don't interact with this directly - it's used internally during catalog search reindexing to swap temporary indexes with active ones, but only if the current search engine supports index switching.
Public Methods
- switchIndex()