Factory
ClientFactory
Magento\AdvancedSearch\Model\Client\ClientFactory
What it does
This factory class creates search client instances for advanced search functionality in Magento 2.
It determines whether to instantiate an OpenSearch v2 client or a standard search client based on system configuration, allowing developers to get the appropriate search client without knowing the underlying implementation details.
Public Methods
- create()