Download the PHP package smile/module-elasticsuite-targetrule without Composer
On this page you can find all versions of the php package smile/module-elasticsuite-targetrule. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smile/module-elasticsuite-targetrule
More information about smile/module-elasticsuite-targetrule
Files in smile/module-elasticsuite-targetrule
Package module-elasticsuite-targetrule
Short Description Smile Elastic Suite - TargetRule Module
License OSL-3.0
Informations about the package module-elasticsuite-targetrule
ElasticSuite TargetRules
This module is a plugin for ElasticSuite.
It allows to manage Magento2 Enterprise Edition Target Rules via Elasticsearch queries.
Benefits
- Since Magento EE 2.1 and the Staging appearance, TargetRules are reported as broken : https://github.com/magento/magento2/issues/7354
Using our module will make them work again since we do not rely on the Database tables for retrieving products matching a rule.
- Performances : Magento will basically generate many rows in the association table handling relation between products and rules (which rule should be used for a given product, and which product will match conditions of a rule).
This could lead to massive performances issues when you have a large catalog.
We overcome this problem by percolating the rules condition as Elasticsearch queries. This allow to find quickly which product is matching a given rule by just testing the product with the percolator.
Once the rules matching a product are retrieved by the Percolator, we process converting on the fly the TargetRule conditions to an Elasticsearch query, allowing us to match quickly the products that can be displayed by the rule, without even using the Database for complex filtering.
Compatibility Matrix
Since Magento did change the way they store rules (from serialized string to json) between 2.1 and 2.2, please ensure to use the proper version of the module for your Magento version :
Magento Version | Version of this module to use |
---|---|
Magento 2.0.* EE | NOT SUPPORTED |
Magento 2.1.* EE | Latest 1.1.x release |
Magento 2.2.* EE | Latest 1.2.x release |
Magento 2.3.* EE | Latest 1.4.x release |
Requirements
The module requires :
-
ElasticSuite > 2.3.*
- Magento2 Enterprise Edition (since the TargetRules are only available with the EE Edition)
How to use
-
Install the module via Composer :
-
Enable it
-
Install the module and rebuild the DI cache
- Process a full reindex of catalogsearch index to reindex the Percolator data
All versions of module-elasticsuite-targetrule with dependencies
magento/module-target-rule Version >=101.1.0
smile/elasticsuite Version ^2.9.0