The Labofgood_ElasticsearchCluster
module enables managing Elasticsearch cluster connections from Magento 2 admin panel.
- PHP 8.1 or higher
- Magento 2.4.5
composer.json includes:
"magento/framework": "103.0.*",
"magento/module-elasticsearch-7": "100.4.*"
Please follow the instructions:
- Run
composer require --dev labofgood/module-elasticsearch-cluster
- Run
bin/magento setup:upgrade
Please follow the instructions:
-
Go to
Stores > Configuration > Catalog > Catalog > Catalog Search
and selectElasticsearch 7 Cluster
asSearch Engine
-
Add list of Elasticsearch cluster nodes in
Cluster Hosts
field -
Test connection by clicking
Test Connection
button -
Save configuration
-
Flush Magento cache
-
Run
bin/magento indexer:reindex catalogsearch_fulltext
to reindex catalog search.
To uninstall the module, run: bin/magento module:uninstall Labofgood_ElasticsearchCluster
- Anton Abramchenko anton.abramchenko@labofgood.com
Copyright © 2023 Anton Abramchenko. All rights reserved.
This software is under the "3-Clause BSD License" license (see source).