Log in
Interface

ClientInterface

Magento\AdvancedSearch\Model\Client\ClientInterface

What it does

This interface defines the contract for search engine client implementations in Magento's Advanced Search module.

Developers would implement this interface when creating custom search engine clients (like Elasticsearch or OpenSearch) to ensure they provide a method to test the connection validity.

Any custom search engine integration must implement the testConnection() method to verify connectivity and configuration.

Public Methods

  • testConnection()