The new Magento 2.4 Mysql Search module. Try it to still use MySQL search.

The new Legacy Mysql Search module for Magento 2. Try it to still use MySQL search.

The news sometimes isn't good, but there is always a way out. Yes, MySQL is no longer supported for search since Magento 2.4. And you must install Elasticsearch 7.6.x before upgrading to the latest Magento version.

Elastic search is a great solution. Even so, a lot of our customers still prefer using hostings that don’t have it. Let us help you to install Magento 2.4 without Elastic search enabled.

We released the Legacy MySQL Search module for Magento 2

We integrated Magento 2.3.5 MySQL Search mechanism with Magento 2.4. The Legacy MySQL Search module enables a new value in the Search Engine drop-down of Catalog Search config settings.

So you don’t need things to get complicated. You have simply to choose the "Legacy MySQL (Deprecated) value" in drop-down.

Here the installation instructions:

Preparing for installation

composer require swissup/module-marketplace &&\
bin/magento setup:upgrade &&\
bin/magento marketplace:channel:enable swissuplabs
Cli installation

bin/magento marketplace:package:require swissup/module-search-mysql-legacy

Then you have to reindex your store Catalog Search index. See the instructions.

php bin/magento indexer:reindex catalogsearch_fulltext

The option simplifies your workflow, so yet you may focus your attention on what it’s really important for you at the moment.

We suggested our clients build the custom search using MySQL

Our new module has one configuration setting only. Tune it to keep building custom search using MySQL.

Yet still you can solve some other possible issues through the module docs:

  • How to install Magento 2.4.0 without Elasticsearch need during installation?

Please visit the page to see steps.

  • How can I check the current search engine?

bin/magento config:show catalog/search/engine
  • How can I change the search engine over SSH/CLI?

php bin/magento config:set catalog/search/engine 'lmysql'

Finally, it may be concluded that we cherish all our customers. So the developers' team has been happy to offer the solution despite recent Magento updates.

Would you like to share with us your opinions on the module? This is a beta release. We are gonna improve the extension to make it work better.

We are happy to hear your comments.

Leave a Reply