Validator
Magento\Search\Model\SearchEngine\Validator
What it does
This class validates the configured search engine in Magento 2 to ensure it's supported and properly configured.
It checks against a list of excluded/deprecated engines (like MySQL) and delegates to engine-specific validators, returning an array of error messages if validation fails.
Developers use this during system upgrades or configuration changes to verify search engine compatibility.
Public Methods
- validate()