You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hyvä themes: strict Content Security Policy compatibility
The Elasticsuite Hyvä compatibility modules now work with a strict Content Security Policy (no unsafe-inline / unsafe-eval script sources, Alpine.js CSP build).
They support both the Hyva/default and Hyva/default-csp themes, with the Hyvä 1.3, 1.4 and 1.5 themes.
Elasticsuite: the hyva-themes/magento2-smile-elasticsuite module (Hyva_SmileElasticsuite), maintained by the Elasticsuite team, now has one release line per Hyvä themes line.
Install the line matching your Hyvä themes:
With the Hyvä 1.5 themes, the 1.4.x and older lines fail on category and search result pages listing a configurable product: use the 1.5.x line.
💎 Elasticsuite Premium: the Hyvä compatibility module smile/module-elasticsuite-hyva-compatibility (instant search, facet recommender, recommender sliders, A/B campaigns) works with the three lines.
It now requires hyva-themes/magento2-smile-elasticsuite~1.3.0 || ~1.4.0 || ~1.5.0 and hyva-themes/magento2-theme-module 1.4.1 or newer.
If you override templates of these modules in your theme, please follow their upgrade guides before upgrading:
Hyva_SmileElasticsuite: UPGRADE_TO_1.3.md, UPGRADE_TO_1.4.md and UPGRADE_TO_1.5.md, up to the line matching your Hyvä themes;
💎 Elasticsuite Premium: UPGRADE_CSP.md.
💎 Language support: stemmer override rules from the Admin
Language stemmers sometimes miss the plural form of a word, or give the same stem to quite different words.
Some languages (French, Italian and Swedish) already come with a few rules forcing the stem of such words, for instance jeux => jeu in French, but adding or changing them required a developer and a custom elasticsuite_analysis.xml file.
This release introduces in Elasticsuite Premium the ability to define these stemmer override rules from the Magento Admin: each rule forces a word ("Original term") to be stemmed to a given value ("Stem"), whatever the stemmer (algorithmic or dictionary based) would produce.
When enabled, your rules replace the predefined rules of the store view language, and the "Load default rules" button lets you start from those.
This can be configured at the store view scope in Stores > Configuration > Elasticsuite > Analyzers Settings > Stemmer override rules (a full reindex is required after changing the rules).
Virtual categories: keeping virtual rules small
A virtual category whose rule relies on a top category (as its virtual root, or in a category condition) embeds the queries of all the virtual categories below that top category.
On catalogs relying on virtual categories a bit beyond the reasonable, such queries can grow beyond the search engine max_clause_count (1024) and fail.
Two new settings, in Stores > Configuration > Elasticsuite > Catalog Search > Catalog Rules Configuration, can keep these rules small:
Boundary categories for virtual rules:
The setting allows to designate a category as a boundary category: when a virtual category uses it as its virtual root or in a category condition, the boundary category is treated as a physical category without any virtual subcategory, that is only its own products and those of its subtree.
The page and the layered navigation of the boundary category itself are unchanged.
For instance, if "Default Category > Products" holds most of the catalog and hundreds of virtual descendants, adding it as a boundary category keeps the queries of the virtual categories relying on it small.
Treat the store root category as a purely physical category in rules (enabled by default): a store root category used in a rule (virtual categories, optimizers, widgets) or in a GraphQL category filter now stands for the products of the store tree, without expanding every virtual category of the store.
Set it to No to restore the legacy behaviour.
Categories relying on each other through their virtual rules (category conditions, virtual roots or virtual subcategories) form cycles: their products may be unexpected, since a category being built is left out of the queries built meanwhile.
A new detector finds these groups of interdependent categories and their shortest cycle (eg. "Women (12) > Women Picks (40) > Summer (75) > Women (12)"), boundary categories and store roots treated as physical categories breaking the cycles going through them.
A category that can't be expanded within a cycle is now treated as a physical category in the rules embedding it, instead of being left out of them and widening their queries.
💎 In Elasticsuite Premium:
the Virtual Categories Dashboard
shows the virtual categories using boundary categories;
it estimates the number of clauses of each category query, in a new "Number of clauses" column, and warns from the "Virtual Categories Dashboard: clauses count alert threshold" setting (1024 by default, 0 to disable);
it checks the cycles of virtual categories with its "Check virtual categories cycles" button, and lists the categories involved with the "Part of a cycle" filter of its "Alerts" column; the check is also available from the CLI with bin/magento elasticsuite:premium:virtual-categories:check-cycles;
the "Virtual rules maximum build size" setting (1000 by default, 0 for no limit) limits the number of category queries built for a single category: when exceeded, typically because of intricate or cyclic rules, the category returns no products for one hour, an error listing the categories involved is logged, and the dashboard shows "Error" for it and for the categories relying on it.
Virtual categories and optimizers: dependency-aware caching
The queries of the virtual category rules and the optimizer functions are now cached with the categories they depend on:
they are refreshed as soon as a category they rely on changes, however deep the chain (category conditions, virtual root, virtual subcategories), or when a category is enabled, disabled, deleted or moved (also when applying a Content Staging update on Adobe Commerce);
queries using the "is discount" condition or a price condition are cached per customer group, only when they need to;
queries using "created/updated within the last X days" conditions expire at midnight;
optimizers using the "is discount" condition or a virtual category no longer apply the functions of another customer group, or an outdated virtual category query.
Price conditions (eg. "Price is less than 100") now match the prices of the current customer group, instead of the prices of any customer group (the "NOT LOGGED IN" prices where there is no customer session, eg. admin previews).
It also builds fewer queries: on a test catalog of 400 virtual categories, building them all from an empty cache ran 3564 SQL queries before and 2404 now, with the same results.
These queries are now stored in the Elasticsuite cache type, which must stay enabled (check with bin/magento cache:status). No reindex is needed.
If you customized the cache keys of the virtual category rules (eg. through a patch of Helper\Rule::loadUsingCache()), please review your changes.
📦 Features
💎 [AdvancedAnalysis] Allow to configure "stemmer overrides" from the Admin
💎 [AdvancedAnalysis] Ability to load default rules into the stemmer override rules
💎 [CategoryMonitoring] Tell the problems of virtual roots and category references apart
💎 [CategoryMonitoring] Show the virtual categories using expansion boundaries
💎 [CategoryMonitoring] Check the cycles of virtual categories from the CLI and the dashboard
💎 [CategoryMonitoring] Virtual Categories Dashboard: estimated number of clauses
💎 [CategoryMonitoring] Limit the number of queries built for a single virtual rules query
💎 [Conversational Search] Add custom search container for the agent (2.11.x and 2.12.x)
💎 [Conversational Search] Add LLM provider configuration (2.11.x and 2.12.x)
[Core] Allow changing from admin the tokenizer for shingles
[Core] Support X-Opaque-Id header to identify problematic requests in server slow log
💎 [HyvaCompatibility] CSP strict compatibility for Hyva last 1.3.x releases
💎 [HyvaCompatibility] CSP strict compatibility for Hyva last 1.4.x releases
💎 [HyvaCompatibility] CSP strict compatibility for Hyva last 1.5.x releases
[Indices] Memorize indices grid filters in session
💎 [Mixer] Allow using the mixer with custom attributes
💎 [Mixer] Make the number of mixed positions configurable
💎 [Mixer] Limit the number of top hits products per mixer field value
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏆 Main features
Hyvä themes: strict Content Security Policy compatibility
The Elasticsuite Hyvä compatibility modules now work with a strict Content Security Policy (no
unsafe-inline/unsafe-evalscript sources, Alpine.js CSP build).They support both the
Hyva/defaultandHyva/default-cspthemes, with the Hyvä 1.3, 1.4 and 1.5 themes.Elasticsuite: the
hyva-themes/magento2-smile-elasticsuitemodule (Hyva_SmileElasticsuite), maintained by the Elasticsuite team, now has one release line per Hyvä themes line.Install the line matching your Hyvä themes:
composer require hyva-themes/magento2-smile-elasticsuite:~1.3.0composer require hyva-themes/magento2-smile-elasticsuite:~1.4.0composer require hyva-themes/magento2-smile-elasticsuite:~1.5.0With the Hyvä 1.5 themes, the 1.4.x and older lines fail on category and search result pages listing a configurable product: use the 1.5.x line.
💎 Elasticsuite Premium: the Hyvä compatibility module
smile/module-elasticsuite-hyva-compatibility(instant search, facet recommender, recommender sliders, A/B campaigns) works with the three lines.It now requires
hyva-themes/magento2-smile-elasticsuite~1.3.0 || ~1.4.0 || ~1.5.0andhyva-themes/magento2-theme-module1.4.1 or newer.If you override templates of these modules in your theme, please follow their upgrade guides before upgrading:
UPGRADE_TO_1.3.md,UPGRADE_TO_1.4.mdandUPGRADE_TO_1.5.md, up to the line matching your Hyvä themes;UPGRADE_CSP.md.💎 Language support: stemmer override rules from the Admin
Language stemmers sometimes miss the plural form of a word, or give the same stem to quite different words.
Some languages (French, Italian and Swedish) already come with a few rules forcing the stem of such words, for instance
jeux => jeuin French, but adding or changing them required a developer and a customelasticsuite_analysis.xmlfile.This release introduces in Elasticsuite Premium the ability to define these stemmer override rules from the Magento Admin: each rule forces a word ("Original term") to be stemmed to a given value ("Stem"), whatever the stemmer (algorithmic or dictionary based) would produce.
When enabled, your rules replace the predefined rules of the store view language, and the "Load default rules" button lets you start from those.
This can be configured at the store view scope in Stores > Configuration > Elasticsuite > Analyzers Settings > Stemmer override rules (a full reindex is required after changing the rules).
Virtual categories: keeping virtual rules small
A virtual category whose rule relies on a top category (as its virtual root, or in a category condition) embeds the queries of all the virtual categories below that top category.
On catalogs relying on virtual categories a bit beyond the reasonable, such queries can grow beyond the search engine
max_clause_count(1024) and fail.Two new settings, in Stores > Configuration > Elasticsuite > Catalog Search > Catalog Rules Configuration, can keep these rules small:
The setting allows to designate a category as a boundary category: when a virtual category uses it as its virtual root or in a category condition, the boundary category is treated as a physical category without any virtual subcategory, that is only its own products and those of its subtree.
The page and the layered navigation of the boundary category itself are unchanged.
For instance, if "Default Category > Products" holds most of the catalog and hundreds of virtual descendants, adding it as a boundary category keeps the queries of the virtual categories relying on it small.
Set it to No to restore the legacy behaviour.
Categories relying on each other through their virtual rules (category conditions, virtual roots or virtual subcategories) form cycles: their products may be unexpected, since a category being built is left out of the queries built meanwhile.
A new detector finds these groups of interdependent categories and their shortest cycle (eg. "Women (12) > Women Picks (40) > Summer (75) > Women (12)"), boundary categories and store roots treated as physical categories breaking the cycles going through them.
A category that can't be expanded within a cycle is now treated as a physical category in the rules embedding it, instead of being left out of them and widening their queries.
💎 In Elasticsuite Premium:
bin/magento elasticsuite:premium:virtual-categories:check-cycles;Virtual categories and optimizers: dependency-aware caching
The queries of the virtual category rules and the optimizer functions are now cached with the categories they depend on:
Price conditions (eg. "Price is less than 100") now match the prices of the current customer group, instead of the prices of any customer group (the "NOT LOGGED IN" prices where there is no customer session, eg. admin previews).
It also builds fewer queries: on a test catalog of 400 virtual categories, building them all from an empty cache ran 3564 SQL queries before and 2404 now, with the same results.
These queries are now stored in the Elasticsuite cache type, which must stay enabled (check with
bin/magento cache:status). No reindex is needed.If you customized the cache keys of the virtual category rules (eg. through a patch of
Helper\Rule::loadUsingCache()), please review your changes.📦 Features
✨ Improvement
💻 Technical
🐛 Fixes
Full Changelog:
All reactions