Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zepgram/module-disable-search-engine
Module to disable OpenSearch/Elasticsearch in Magento2. Disable also fulltext indexing for category search.
https://github.com/zepgram/module-disable-search-engine
composer disable elasticsearch fulltext-search headless magento2 magento2-module opensearch search-engine uninstall
Last synced: 25 days ago
JSON representation
Module to disable OpenSearch/Elasticsearch in Magento2. Disable also fulltext indexing for category search.
- Host: GitHub
- URL: https://github.com/zepgram/module-disable-search-engine
- Owner: zepgram
- License: mit
- Created: 2021-05-08T15:35:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T15:40:12.000Z (about 1 year ago)
- Last Synced: 2024-11-15T12:20:40.332Z (27 days ago)
- Topics: composer, disable, elasticsearch, fulltext-search, headless, magento2, magento2-module, opensearch, search-engine, uninstall
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 80
- Watchers: 6
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-magento2 - Disable Search Engine - Disable Elasticsearch and fulltext indexing for category search. (Open Source Extensions / Search)
- awesome-magento2 - Disable Search Engine - Disable Elasticsearch and fulltext indexing for category search. (Open Source Extensions / Search)
README
# 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-open-searchYou 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 |
|------------|--------|--------|--------|--------|
| module DSE | ~0.0.0 | ~0.1.0 | ~0.2.0 | ~0.3.0 |### Notes
- v0.1.0: adding indexer handler (Magento 2.4.3)
- v0.2.0: the `magento/module-advanced-search` has been reintroduced due to a dependency in `magento/module-catalog-graph-ql` (Magento 2.4.4).
- v0.3.0: uninstalling `magento/module-open-search`## 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.