定制 swissup/module-search-mysql-legacy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

swissup/module-search-mysql-legacy

最新稳定版本:1.1.11

Composer 安装命令:

composer require swissup/module-search-mysql-legacy

包简介

Legacy mysql search for magento 2.4

README 文档

README

It's a magento2-module for the metapackage.

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.

the_new_legacy_mysql_search_module_for_magento_2-1

Installation

For clients

There are several ways to install extension for clients:

  1. If you've bought the product at Magento's Marketplace - use Marketplace installation instructions

  2. Otherwise, you have two options:

For maintainers
cd <magento_root> composer config repositories.swissup composer https://docs.swissuplabs.com/packages/ composer require swissup/module-search-mysql-legacy --prefer-source --ignore-platform-reqs bin/magento module:enable Swissup_SearchMysqlLegacy Swissup_Core bin/magento setup:upgrade --safe-mode=1 bin/magento setup:di:compile bin/magento indexer:reindex catalogsearch_fulltext

F.A.Q

How to install Magento 2.4.0 without Elasticsearch require during installation?

Use --disable-modules option

bin/magento setup:install -h ... --disable-modules[=DISABLE-MODULES] List of comma-separated module names, that must be avoided during installation. 
php bin/magento setup:install --disable-modules=Magento_InventoryElasticsearch,Magento_Elasticsearch7,Magento_Elasticsearch6,Magento_Elasticsearch 

After installing enable all elastic search module with below command.

php bin/magento module:enable Magento_Elasticsearch Magento_Elasticsearch6 Magento_Elasticsearch7 Magento_InventoryElasticsearch

How can I check current search engine?

You can check your current search engine using:

bin/magento config:show catalog/search/engine 

How can I change search engine?

You can change your current search engine using:

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

统计信息

  • 总下载量: 78.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 105
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 105
  • Watchers: 11
  • Forks: 36
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固