Smile Elastic Suite - TargetRule Module
This module is a plugin for ElasticSuite.
It allows to manage Magento2 Enterprise Edition Target Rules via Elasticsearch queries.
Using our module will make them work again since we do not rely on the Database tables for retrieving products matching 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.
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|
The module requires :
ElasticSuite > 2.3.*
Magento2 Enterprise Edition (since the TargetRules are only available with the EE Edition)
composer require smile/module-elasticsuite-targetrule
bin/magento module:enable Smile_ElasticsuiteTargetRule
bin/magento index:reindex catalogsearch_fulltext