zepgram / module-disable-search-engine
zepgram/module-disable-search-engine
Magento2 module to disable search engine and fulltext indexing for category search
Disable Search Engine
Disable default search engine in Magento2 and catalog search fulltext indexing.
Purpose
When catalog search and display are not handled by your Magento it could be redundant to integrate ES in your architecture.
You may have a PIM dedicated for this, or maybe you are designing a microservice architecture, you want to smooth the Magento monolith aspect etc...
Natively Magento do not offer the possibility to completely disable ElasticSearch, this module made it possible.
What it does
- Make Elasticsearch service no longer required to install and run Magento2.
- Set value "none" as default search engine
- Return empty response from front-end queries
- Uninstall magento modules:
- magento/module-elasticsearch-catalog-permissions
- magento/module-elasticsearch-catalog-permissions-graph-ql
- magento/module-inventory-elasticsearch
- magento/module-elasticsearch
- magento/module-elasticsearch-6
- magento/module-elasticsearch-7
- magento/module-elasticsearch-8
- magento/module-open-search
You should have no issue with indexation, compilation and even front-end research, which should always return no result.
Compatibility
| Magento | v2.3.0 | v2.4.3 | v2.4.4 | v2.4.6 | v2.4.8 |
|---|---|---|---|---|---|
| module DSE | ~0.0.0 | ~0.1.0 | ~0.2.0 | ~0.3.0 | ~0.4.0 |
Notes
- v0.1.0: adding indexer handler (Magento 2.4.3)
- v0.2.0: the
magento/module-advanced-searchhas been reintroduced due to a dependency inmagento/module-catalog-graph-ql(Magento 2.4.4). - v0.3.0: uninstalling
magento/module-open-search - v0.4.0: uninstalling
magento/module-elasticsearch-8
Installation
composer require zepgram/module-disable-search-engine
bin/magento module:enable Zepgram_DisableSearchEngine
bin/magento setup:upgrade
Issue
If you encountered an issue, please report it on this GitHub repository.
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 0.4.0 | stable | Pass | Magento 2.4.7-2.4.9 Details | 2025-05-16 18:44:54 |
| 0.2.3 | stable | Not tested | Not yet tested Details | 2025-04-09 07:30:35 |
| 0.3.1 | stable | Not tested | Not yet tested Details | 2023-11-24 15:40:12 |
| 0.2.2 | stable | Not tested | Not yet tested Details | 2023-11-24 15:39:44 |
| 0.1.2 | stable | Not tested | Not yet tested Details | 2023-11-24 15:39:07 |
| 0.0.4 | stable | Not tested | Not yet tested Details | 2023-11-24 15:38:44 |
| 0.3.0 | stable | Not tested | Not yet tested Details | 2023-04-03 09:03:10 |
| 0.2.1 | stable | Not tested | Not yet tested Details | 2022-12-22 15:32:38 |
| 0.2.0 | stable | Not tested | Not yet tested Details | 2022-04-01 20:17:32 |
| 0.0.3 | stable | Not tested | Not yet tested Details | 2021-09-06 21:36:30 |
| 0.1.1 | stable | Not tested | Not yet tested Details | 2021-09-06 21:32:30 |
| 0.1.0 | stable | Not tested | Not yet tested Details | 2021-08-12 16:14:49 |
| 0.0.2 | stable | Not tested | Not yet tested Details | 2021-05-30 14:32:15 |
| 0.0.1 | stable | Not tested | Not yet tested Details | 2021-05-08 22:12:47 |
Requires 6
| Package | Constraint |
|---|---|
| php | ^8.2 |
| magento/framework | ^103.0.6 |
| magento/module-backend | ^102.0.6 |
| magento/module-indexer | ^100.4.6 |
| magento/module-search | ^101.1.6 |
| magento/module-catalog-search | ^102.0.6 |
Replaces 8
| Package | Constraint |
|---|---|
| magento/module-elasticsearch-catalog-permissions | * |
| magento/module-elasticsearch-catalog-permissions-graph-ql | * |
| magento/module-inventory-elasticsearch | * |
| magento/module-elasticsearch | * |
| magento/module-elasticsearch-6 | * |
| magento/module-elasticsearch-7 | * |
| magento/module-elasticsearch-8 | * |
| magento/module-open-search | * |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from zepgram
View vendorSimple autoloader to integrate the Symfony Dotenv component into Magento2
Technical module to industrialize API REST call with dependency injection pattern using Guzzle library
This module is a powerful tool for developers who want to process large data sets in a short amount of time
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.