Class “” Not Found when saving Elasticsearch settings

So when you update magento 2 then you might face this problem when you enter the Elasticsearch details. When you click on test connection it will pop an error stating class not found. To fix this you need to simply run this command
php bin/magento config:set catalog/search/engine elasticsearch7

You will see your issue is resolved.

Leave a Reply

Your email address will not be published. Required fields are marked *