Factory
AdapterFactory
Magento\Search\Model\AdapterFactory
What it does
This factory class creates search adapter instances based on the currently configured search engine (like Elasticsearch, MySQL, etc.).
Developers use it to obtain the appropriate search adapter implementation when performing search operations, allowing Magento to work with different search engines interchangeably without changing code.
Public Methods
- create()