NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #3089 most downloaded on Packagist
Magento 2 merchandising and search engine built on ElasticSearch
Latest stable
2.12.2
Last release 19 days ago
03 Nov 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
237 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
The highlighting of autocomplete search results was introduced in the Elasticsuite Premium Instant Search module in releases 2.10.34, 2.11.19 and 2.12
The highlighting of autocomplete search results was introduced in the Elasticsuite Premium Instant Search module in releases 2.10.34, 2.11.19 and 2.12.0 for popular search terms and products results. It is now possible to enable the highlighting for categories through the setting Stores > Configuration > Elasticsuite > Autocomplete > Category Autocomplete > Highlight Results.
The Elasticsuite Premium Recommender Explain module introduced in the previous release was erroneously not added to the Elasticsuite Premium metapackages for 2.12.x. This release corrects that.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.12.2...2.12.2.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
[Core] Fix #3884, Search Relevance null array offset deprecation warning by @vahonc in https://github.com/Smile-SA/elasticsuite/pull/3886
Huge thanks to @drabikowy and the rest of the https://github.com/creativestyle team for spotting that !
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.12.0...2.12.1.1
Up to now, the Elasticsuite cross-sell recommendation block only showed recommendations for the last product added to the cart. It is now possible to
Up to now, the Elasticsuite cross-sell recommendation block only showed recommendations for the last product added to the cart. It is now possible to show recommendations for all the products in the cart :
Last release introduced an error logging mechanism that would systematically log into Magento logging system the error message and the body of requests failing on your OpenSearch/Elasticsearch server when the Elasticsuite debug mode was disabled to help with issues in production environment. That was probably an oversight not to add a configuration switch since some type of errors can be caused by "request is too big" causes, hence adding strain to the logging system by pushing several megabytes requests bodies.
A new setting "Enable logging of request that produce errors" is available in Stores > Configuration > Elasticsuite > Base Settings just above the legacy "Enable Debug Mode" :
The feature can now behaves as "light debug mode" for production environments as intended.
While the Thesaurus system "Max Allowed Rewrites" setting available in Elasticsuite > Search Relevance > Thesaurus Configuration > General Configuration limits the number of substitutions in the original visitor search query, there can be situations when you have a lot (and we mean a lot) of thesaurus rules with long lists of alternative terms or when the same word is present in multiple rules.
In those situations, the "Max Allowed Rewrites" will not be enough to prevent generating several tenths or even hundreds of alternative search queries leading to a huge single search request that will end up failing on the server by hitting the ceiling of the "maximum number of clauses" allowed by your cluster configuration and/or memory available.
The new setting "Max Alternative Search Queries" available in Elasticsuite > Search Relevance > Thesaurus Configuration > General Configuration allows you to put a cap on the total number of alternative, rewritten search queries to effectively take into account for a given original visitor search query (defaults to 0, no limitation). Since there is no unified mechanism available in Elasticsearch or OpenSearch for us to detect the ideal value to put there from a technical stand point, it will be up to you to determine the value you deem "sufficient" functionally.
You can also use that setting preventively in periods of high traffic (holiday season, sale events) to limit the strain on your cluster if you know that your merchandisers have been "thesaurus happy".
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.9.1...2.11.9.2
[Tracker] Avoid deprecation warnings by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3398
It is now possible to search inside the list of products displayed in the explain results screen, in a similar way that it is possible in the category preview screen. Since that does not alter the score of the products found through this "mini-search", it is now easier to look at the score details of a given product in the explained context.
The default explain results screen when simulating a full text search for "gear" on a Luma :
When reducing the displayed products to those also matching "duffle" :
If your store is in a language featuring accents and diacritics, you might want to show popular search terms exactly as typed by your users instead of the "ASCII folded" version of those search terms as it is now. For instance, in French, if "boîte à thé" (tea box) is a popular search, by default the Behavioral Autocomplete module would show it as "boite a the". The new settings available in Stores > Configuration > Elasticsuite > Behavioral Autocomplete > Tweaks > Show raw search terms will allow you to make sure that "boîte a thé" could be shown as is when a user searches for "boite" in the autocomplete.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.9...2.11.9.1
[VirtualCategories] Option to force empty category if virtual category root disabled by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3286
A new setting, enabled by default, is available at Store Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration > Force zero results for disabled categories.
When set to Yes, it will make sure that
While it was at some point planned to hardcode that new (in our eyes) correct behaviour, we introduced the setting Store Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration > Force zero results for disabled categories so you can decide to go back how things were by switching the setting to No.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.8.2...2.11.8.3
[Virtual Category] Fix php8.3 deprecation when root category don't have path by @PierreGauthier in https://github.com/Smile-SA/elasticsuite/pull/3336
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.8.1...2.11.8.2
[Virtual Category] Optimize virtual category rule computation by @PierreGauthier in https://github.com/Smile-SA/elasticsuite/pull/3326
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.8...2.11.8.1
In 2.11.7 version we accidentally deleted the default relevance configuration file. This release restores it.
In 2.11.7 version we accidentally deleted the default relevance configuration file. This release restores it.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.7...2.11.7.1
Ability to change sort direction per category #3259
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.6...2.11.6.1
Releases 2.10.19.2 and 2.11.5.2 published yesterday can cause an issue if you minify your JS sources, preventing JS scripts from working in Magento's
Releases 2.10.19.2 and 2.11.5.2 published yesterday can cause an issue if you minify your JS sources, preventing JS scripts from working in Magento's admin area. Thanks @thomas-kl1 for a quick reaction !
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.5.2...2.11.5.3
KPIs about category views, product views, products added to cart and sales event are now extracted from your behavioral data and visible in the "Analy
KPIs about category views, product views, products added to cart and sales event are now extracted from your behavioral data and visible in the "Analytics > Search Usage dashboard".
Historically, when filtering (not scoring !) results, exact match queries always targeted at least the search collector field (containing all searchable attributes content) and the sku field, whatever search weight was assigned to the sku field.
As
reference search analyzer (used by the sku attribute by default)sku to be searchablewe have decided to remove that hardcoded sku in exact queries filtering part.
Long story short, if your users frequently perform searches by SKU and you're still using the reference analyzer for that attribute, we urge you to go enable the following Search Relevance settings listed below :
If you're using a 3 nodes cluster in your production environment, you could have been tempted to set 3 primary shards and 2 replicas in the legacy Elasticsuite base settings. While it is our opinion that having multiple primary shards is hardly necessary unless you really have a sizeable product index, it is now possible to go this route while keeping usually light indices (categories, thesaurus, and tracker indices on low traffic sites) with a single primary shard. It is now possible to definer per index type the number of primary shards and replicas of indices.
This will allow you to minimize the memory footprint per node of opened shards/indices in your cluster (the rule of thumb being that 1 GB of Heap is required per node per 20 shards just for those indices being opened).
Releases 2.10.18.3 and 2.11.4.3 introduced some protections to avoid indexing invalid tracker events missing unique visitor or session ids into the behavioral data indices (as well as CLI tools to remove those already indexed).
Those invalid tracker events were left in the Elasticsuite tracker DB table with a flag is_invalid = 1.
This release introduces a cronjob task that will automatically and periodically remove them and a notification system to warn you about their existence (if you want to investigate the potential issue in your tracker tags).
You also have the ability to remove all of them at once.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.5.1...2.11.5.2
We fixed the elision/contraction management for French, Italian and Catalan when indexing/searching content.
We fixed the elision/contraction management for French, Italian and Catalan when indexing/searching content.
Historically the text analyzers for those languages were supposed to ignore the elision/contraction of some articles or pronouns but didn't due to an improper order of text transformation components. This could be problematic if you had a Minimum Should Match lower than 100%
For instance :
l'avion (mandatory form of "le avion" - "the plane") was supposed to be indexed as avion (plane) but was still indexed as l avion, so searching for l'avion bleu vole could match l'écureuil bleu vole with a 75% minimum should match (matches on l, bleu and vole)comedia dell'arte was supposed to be indexed as comedia arte but was indexed as comedia dell artel'avi (the grandfather) was supposed to be indexed as avi (grandfather) but was indexed as l aviThis release fixes that issues and now the following elisions/contractions will be removed as intended :
l, m, t, qu, n, s, j, d, c as defined in that language specific elision filter configurationc, l, all, dall, dell, nell, sull, coll, pell, gl, agl, dagl, degl, negl, sugl, un, m, t, s, v, d as defined in that language specific elision filter configurationd, l, m, n, s, t as defined in that language specific elision filter configurationShould this changes affect you negatively, please be aware that you can override those settings (as all of those in the elasticsuite_analysis.xml configuration file) in a custom module. Feel also free to let us know, especially about the configuration Italian and Catalan since we are not native speakers and we are just following official Elasticsearch recommendations.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.5...2.11.5.1
[Tracker] Prevent partial/invalid events to be indexed by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3111
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.4.2...2.11.4.3-rc1
When the Elasticsuite tracker is enabled on a site with a custom theme or on a PWA frontend, it can happen that the data collection is not correctly p
When the Elasticsuite tracker is enabled on a site with a custom theme or on a PWA frontend, it can happen that the data collection is not correctly performed, particularly that some events are registred with an undefined or 'null' user session identifier (tracker session.uid parameter).
In turn those events coming from different visitors (tracker session.vid parameter) would still be collected as event for a same navigation session spanning several weeks or months, generating a document in the behavioral data session index with several hundreds or thousands of search terms, products added to cart, ordered, etc.
In the long run, it will slow down requests performed on the behavioral data indices up to generate 429 errors on your Elasticsearch/OpenSearch server preventing you to use, for instance, the Elasticsuite Search Usage analytics dashboard. This release contains both a fix to prevent the collection of those ill-formed events and two Magento commands to be able to check and fix your already indexed behavioral data.
You can run the elasticsuite:tracker:check-data Magento command to scan your behavioral indices for invalid data.
It will scan the behavioral data indices of all the active Magento store views and report if there are any errors.
If there are errors for a given store, they will be reported, as seen below :
If the elasticsuite:tracker:check-data command reports error, you can run the elasticsuite:tracker:fix-data command to fix the invalid data from your behavioral indices.
It will report what has been fixed.
For instance, on the same example as seen above, here are the results :
If there was nothing to fix, the command has no effect :
As for the system message that can pop in your Magento admin interface when you have "Ghost Indices", we might in a future release make sure that admin users are made aware of existing invalid behavioral data without having to launch the elasticsuite:tracker:check-data Magento command.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.4.2...2.11.4.3
When you display out of stock products in the frontend, it can be annoying that a product manually positioned in a category or for a search query be s
When you display out of stock products in the frontend, it can be annoying that a product manually positioned in a category or for a search query be still displayed at the configured position when it is no longer in stock. A new setting named "Ignore manual positions of out of stock products" available in "Stores > Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration" can now prevent this situation.
Category products preview area in Category edit screen
Category products in the frontend
By default, the Elasticsuite tracking script which collects anonymized behavioral data (search queries, product views, product sales) uses an invisible pixel to push its data to Magento. It can happen that frontend caches blocks image URLs with parameters for safety reason, preventing the collection of tracking data.
While our FAQ contains a workaround for Fastly, it is now possible to easily make the Elasticsuite tracker use the dedicated REST API endpoint which was developed several releases ago for headless themes integration. The new setting is named "Use the API to collect data" and is available in "Stores > Configuration > Elasticsuite > Tracking > Global Configuration".
When you have a very long list of options for a select or multiselect attribute, for example a "Brand" attribute with more than 100 values, it can sometimes be difficult to pick the desired option in the rule engine of the Search Optimizers or the Virtual Categories. It is because by default the options are listed in the order they were created. A new setting named "Alphabetical sorting of attribute options in the rule engine" available in "Stores > Configuration > Elasticsuite > Catalog Search > Catalog Rules Configuration" allows you to force an alphabetical sorting of the options.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.4.1...2.11.4.2
Release 2.11.3 introduced the ability to select standard_edge_ngram as search analyzer for product attributes.
Release 2.11.3 introduced the ability to select standard_edge_ngram as search analyzer for product attributes.
By default, though, all the ngrams generated are invisible to the pre-request analysis step which determines if Elasticsuite should perform a fuzzy or an exact matching query. So if a user searches for a partial word, for instance "scre" for "screen" or "screwdriver"
standard_edge_ngram analyzed name containing "screen" or "screwdriver" will be displayed at the top of the search resultsstandard_edge_ngram analyzed name containing "screen" or "screwdriver" will compete with
The new settings Elasticsuite > Search Relevance > Spellchecking configuration > Term Vectors Configuration > [Experimental] Use edge ngram analyzer in term vectors, when set to "Yes", allows you
standard_edge_ngram analyzed product names.It is also recommended to switch to "Yes" the other experimental settings located above named "[Experimental] Use all tokens from term vectors", especially if you previously switched to "Yes" the experimental settings also located in the section "[Experimental] Use reference analyzer in term vectors".
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.4...2.11.4.1
Fix #3030, avoid deprecated access to an undefined property by @vahonc in https://github.com/Smile-SA/elasticsuite/pull/3032
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.3.2...2.11.3.3
Update return statement for ExportProductAttributeCsv controller by @vahonc in https://github.com/Smile-SA/elasticsuite/pull/3004
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.3.1...2.11.3.2
Prevent edge_ngram analyzer being used at query time by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3000
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.3...2.11.3.1
The highlighting of autocomplete search results was introduced in the Elasticsuite Premium Instant Search module in releases 2.10.34, 2.11.19 and 2.12
The highlighting of autocomplete search results was introduced in the Elasticsuite Premium Instant Search module in releases 2.10.34, 2.11.19 and 2.12.0 for popular search terms and products results. It is now possible to enable the highlighting for categories through the setting Stores > Configuration > Elasticsuite > Autocomplete > Category Autocomplete > Highlight Results.
The Elasticsuite Premium Recommender Explain module introduced in the previous release was erroneously not added to the Elasticsuite Premium metapackages for 2.11.x. This release corrects that.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.21...2.11.21.1
[Tracker] Hardening session access
[Tracker] Hardening session access
Both Elasticsuite and Magento native search features rely on the opensearch-project/opensearch-php package which provides an Elasticsearch/OpenSearch
Both Elasticsuite and Magento native search features rely on the opensearch-project/opensearch-php package which provides an Elasticsearch/OpenSearch PHP client.
As Magento requirement for that package was less restrictive than Elasticsuite's latest 2.11.x versions, trying to install Elasticsuite's for the first time with composer require smile/elasticsuite ~2.11.0 on a Magento 2.4.8/2.4.8-pX version would
composer require option --with-all-dependencies to allow composer to downgrade the opensearch-project/opensearch-php package to a version meeting Elasticsuite's stricter requirementsThis release relaxes Elasticsuite's requirement on opensearch-project/opensearch-php versions and so should greatly reduce the need to use the --with-all-dependencies for installing Elasticsuite for the first time to the cases where a known buggy (performance wise) version of opensearch-project/opensearch-php is already installed (versions 2.4.0, 2.4.1 and 2.4.2).
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.18...2.11.18.1
[Catalog] Prevent XSS in the filter's search box by @saltomorales in https://github.com/Smile-SA/elasticsuite/pull/3793
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.17...2.11.17.1
This releases introduces the ability to switch from the React based JS component to a vanilla JS component for the Instant Search if you have problems
This releases introduces the ability to switch from the React based JS component to a vanilla JS component for the Instant Search if you have problems or conflicts with the React building phase pre/post-delivery, through two new settings
To benefit from these changes, make sure that you also upgrade the composer package smile/magento2-react to its latest version (16.12.5).
This releases addresses an issue with the inability for a non "full admin" Magento admin user to view and change the settings under Stores > Configuration > Elasticsuite > Analyzers Settings. Now, if the user already has the role resource Stores > Settings > Configuration > Elasticsuite Base Settings, he will be able to access this settings section.
Starting sometime in Magento 2.4.7, it was no longer possible when editing an attribute in admin to set "Use in Search Results Layered Navigation" to "Yes" if "Use in Search" was set to "No" (changing that property through our custom "Elasticsuite Product Attributes" import/export was still possible though). It is now fixed.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.16...2.11.16.1
This release fixes a MySQL 8.0/8.4 compatibility issue occuring on Magento 2.4.8+.
This release fixes a MySQL 8.0/8.4 compatibility issue occuring on Magento 2.4.8+.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.15...2.11.15.1
:gem: [GoogleAnalytics] Remove debug log by @PierreGauthier
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.12...2.11.12.1
This release locks the opensearch-project/opensearch-php to versions <2.4.0 because their last version is causing memory issues as described in #3522
:warning: Emergency release :
This release locks the opensearch-project/opensearch-php to versions <2.4.0 because their last version is causing memory issues as described in #3522
Improve MLT query. by @romainruaud in https://github.com/Smile-SA/elasticsuite/pull/2920
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.1...2.11.1.1
Fix implicit dependencies introduced on Magento legacy AdminNotification module #2423
Fix explode parameter to be string by @Coosos in #2322
The highlighting of autocomplete search results was introduced in the Elasticsuite Premium Instant Search module in releases 2.10.34, 2.11.19 and 2.12
The highlighting of autocomplete search results was introduced in the Elasticsuite Premium Instant Search module in releases 2.10.34, 2.11.19 and 2.12.0 for popular search terms and products results. It is now possible to enable the highlighting for categories through the setting Stores > Configuration > Elasticsuite > Autocomplete > Category Autocomplete > Highlight Results.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.36...2.10.36.1
:gem: [Beacon] Fix reading the client ID by @rbayet
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.33...2.10.33.1
[Catalog] Prevent XSS in the filter's search box (2.10.x) by @saltomorales in https://github.com/Smile-SA/elasticsuite/pull/3794
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.32...2.10.32.1
This releases introduces the ability to switch from the React based JS component to a vanilla JS component for the Instant Search if you have problems
This releases introduces the ability to switch from the React based JS component to a vanilla JS component for the Instant Search if you have problems or conflicts with the React building phase pre/post-delivery, through two new settings
To benefit from these changes, make sure that you also upgrade the composer package smile/magento2-react to its latest version (16.12.5).
This releases addresses an issue with the inability for a non "full admin" Magento admin user to view and change the settings under Stores > Configuration > Elasticsuite > Analyzers Settings. Now, if the user already has the role resource Stores > Settings > Configuration > Elasticsuite Base Settings, he will be able to access this settings section.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.31...2.10.31.1
This release fixes a MySQL 8.0/8.4 compatibility issue occuring on Magento 2.4.8+.
This release fixes a MySQL 8.0/8.4 compatibility issue occuring on Magento 2.4.8+.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.30...2.10.30.1
:gem: [GoogleAnalytics] Remove debug log by @PierreGauthier
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.26...2.10.26.1
Up to now, the Elasticsuite cross-sell recommendation block only showed recommendations for the last product added to the cart. It is now possible to
Up to now, the Elasticsuite cross-sell recommendation block only showed recommendations for the last product added to the cart. It is now possible to show recommendations for all the products in the cart :
Last release introduced an error logging mechanism that would systematically log into Magento logging system the error message and the body of requests failing on your OpenSearch/Elasticsearch server when the Elasticsuite debug mode was disabled to help with issues in production environment. That was probably an oversight not to add a configuration switch since some type of errors can be caused by "request is too big" causes, hence adding strain to the logging system by pushing several megabytes requests bodies.
A new setting "Enable logging of request that produce errors" is available in Stores > Configuration > Elasticsuite > Base Settings just above the legacy "Enable Debug Mode" :
The feature can now behaves as "light debug mode" for production environments as intended.
While the Thesaurus system "Max Allowed Rewrites" setting available in Elasticsuite > Search Relevance > Thesaurus Configuration > General Configuration limits the number of substitutions in the original visitor search query, there can be situations when you have a lot (and we mean a lot) of thesaurus rules with long lists of alternative terms or when the same word is present in multiple rules.
In those situations, the "Max Allowed Rewrites" will not be enough to prevent generating several tenths or even hundreds of alternative search queries leading to a huge single search request that will end up failing on the server by hitting the ceiling of the "maximum number of clauses" allowed by your cluster configuration and/or memory available.
The new setting "Max Alternative Search Queries" available in Elasticsuite > Search Relevance > Thesaurus Configuration > General Configuration allows you to put a cap on the total number of alternative, rewritten search queries to effectively take into account for a given original visitor search query (defaults to 0, no limitation). Since there is no unified mechanism available in Elasticsearch or OpenSearch for us to detect the ideal value to put there from a technical stand point, it will be up to you to determine the value you deem "sufficient" functionally.
You can also use that setting preventively in periods of high traffic (holiday season, sale events) to limit the strain on your cluster if you know that your merchandisers have been "thesaurus happy".
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.23.1...2.10.23.2
[Tracker] Avoid deprecation warnings by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3398
It is now possible to search inside the list of products displayed in the explain results screen, in a similar way that it is possible in the category preview screen. Since that does not alter the score of the products found through this "mini-search", it is now easier to look at the score details of a given product in the explained context.
The default explain results screen when simulating a full text search for "gear" on a Luma :
When reducing the displayed products to those also matching "duffle" :
If your store is in a language featuring accents and diacritics, you might want to show popular search terms exactly as typed by your users instead of the "ASCII folded" version of those search terms as it is now. For instance, in French, if "boîte à thé" (tea box) is a popular search, by default the Behavioral Autocomplete module would show it as "boite a the". The new settings available in Stores > Configuration > Elasticsuite > Behavioral Autocomplete > Tweaks > Show raw search terms will allow you to make sure that "boîte a thé" could be shown as is when a user searches for "boite" in the autocomplete.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.23...2.10.23.1
[VirtualCategories] Option to force empty category if virtual category root disabled by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3286
A new setting, enabled by default, is available at Store Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration > Force zero results for disabled categories.
When set to Yes, it will make sure that
While it was at some point planned to hardcode that new (in our eyes) correct behaviour, we introduced the setting Store Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration > Force zero results for disabled categories so you can decide to go back how things were by switching the setting to No.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.22.2...2.10.22.3
[Virtual Category] Fix php8.3 deprecation when root category don't have path by @PierreGauthier in https://github.com/Smile-SA/elasticsuite/pull/3336
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.22.1...2.10.22.2
[Virtual Category] Optimize virtual category rule computation by @PierreGauthier in https://github.com/Smile-SA/elasticsuite/pull/3326
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.22...2.10.22.1
Ability to change sort direction per category #3259
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.11.6...2.11.6.1
Releases 2.10.19.2 and 2.11.5.2 published yesterday can cause an issue if you minify your JS sources, preventing JS scripts from working in Magento's
Releases 2.10.19.2 and 2.11.5.2 published yesterday can cause an issue if you minify your JS sources, preventing JS scripts from working in Magento's admin area. Thanks @thomas-kl1 for a quick reaction !
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.19.2...2.10.19.3
KPIs about category views, product views, products added to cart and sales event are now extracted from your behavioral data and visible in the "Analy
KPIs about category views, product views, products added to cart and sales event are now extracted from your behavioral data and visible in the "Analytics > Search Usage dashboard".
Historically, when filtering (not scoring !) results, exact match queries always targeted at least the search collector field (containing all searchable attributes content) and the sku field, whatever search weight was assigned to the sku field.
As
reference search analyzer (used by the sku attribute by default)sku to be searchablewe have decided to remove that hardcoded sku in exact queries filtering part.
Long story short, if your users frequently perform searches by SKU and you're still using the reference analyzer for that attribute, we urge you to go enable the following Search Relevance settings listed below :
If you're using a 3 nodes cluster in your production environment, you could have been tempted to set 3 primary shards and 2 replicas in the legacy Elasticsuite base settings. While it is our opinion that having multiple primary shards is hardly necessary unless you really have a sizeable product index, it is now possible to go this route while keeping usually light indices (categories, thesaurus, and tracker indices on low traffic sites) with a single primary shard. It is now possible to definer per index type the number of primary shards and replicas of indices.
This will allow you to minimize the memory footprint per node of opened shards/indices in your cluster (the rule of thumb being that 1 GB of Heap is required per node per 20 shards just for those indices being opened).
Releases 2.10.18.3 and 2.11.4.3 introduced some protections to avoid indexing invalid tracker events missing unique visitor or session ids into the behavioral data indices (as well as CLI tools to remove those already indexed).
Those invalid tracker events were left in the Elasticsuite tracker DB table with a flag is_invalid = 1.
This release introduces a cronjob task that will automatically and periodically remove them and a notification system to warn you about their existence (if you want to investigate the potential issue in your tracker tags).
You also have the ability to remove all of them at once.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.19.1...2.10.19.2
We fixed the elision/contraction management for French, Italian and Catalan when indexing/searching content.
We fixed the elision/contraction management for French, Italian and Catalan when indexing/searching content.
Historically the text analyzers for those languages were supposed to ignore the elision/contraction of some articles or pronouns but didn't due to an improper order of text transformation components. This could be problematic if you had a Minimum Should Match lower than 100%
For instance :
l'avion (mandatory form of "le avion" - "the plane") was supposed to be indexed as avion (plane) but was still indexed as l avion, so searching for l'avion bleu vole could match l'écureuil bleu vole with a 75% minimum should match (matches on l, bleu and vole)comedia dell'arte was supposed to be indexed as comedia arte but was indexed as comedia dell artel'avi (the grandfather) was supposed to be indexed as avi (grandfather) but was indexed as l aviThis release fixes that issues and now the following elisions/contractions will be removed as intended :
l, m, t, qu, n, s, j, d, c as defined in that language specific elision filter configurationc, l, all, dall, dell, nell, sull, coll, pell, gl, agl, dagl, degl, negl, sugl, un, m, t, s, v, d as defined in that language specific elision filter configurationd, l, m, n, s, t as defined in that language specific elision filter configurationShould this changes affect you negatively, please be aware that you can override those settings (as all of those in the elasticsuite_analysis.xml configuration file) in a custom module. Feel also free to let us know, especially about the configuration Italian and Catalan since we are not native speakers and we are just following official Elasticsearch recommendations.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.19...2.10.19.1
[Tracker] Prevent partial/invalid events to be indexed by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3111
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.18.2...2.10.18.3-rc1
When the Elasticsuite tracker is enabled on a site with a custom theme or on a PWA frontend, it can happen that the data collection is not correctly p
When the Elasticsuite tracker is enabled on a site with a custom theme or on a PWA frontend, it can happen that the data collection is not correctly performed, particularly that some events are registred with an undefined or 'null' user session identifier (tracker session.uid parameter).
In turn those events coming from different visitors (tracker session.vid parameter) would still be collected as event for a same navigation session spanning several weeks or months, generating a document in the behavioral data session index with several hundreds or thousands of search terms, products added to cart, ordered, etc.
In the long run, it will slow down requests performed on the behavioral data indices up to generate 429 errors on your Elasticsearch/OpenSearch server preventing you to use, for instance, the Elasticsuite Search Usage analytics dashboard. This release contains both a fix to prevent the collection of those ill-formed events and two Magento commands to be able to check and fix your already indexed behavioral data.
You can run the elasticsuite:tracker:check-data Magento command to scan your behavioral indices for invalid data.
It will scan the behavioral data indices of all the active Magento store views and report if there are any errors.
If there are errors for a given store, they will be reported, as seen below :
If the elasticsuite:tracker:check-data command reports error, you can run the elasticsuite:tracker:fix-data command to fix the invalid data from your behavioral indices.
It will report what has been fixed.
For instance, on the same example as seen above, here are the results :
If there was nothing to fix, the command has no effect :
As for the system message that can pop in your Magento admin interface when you have "Ghost Indices", we might in a future release make sure that admin users are made aware of existing invalid behavioral data without having to launch the elasticsuite:tracker:check-data Magento command.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.18.2...2.10.18.3
When you display out of stock products in the frontend, it can be annoying that a product manually positioned in a category or for a search query be s
When you display out of stock products in the frontend, it can be annoying that a product manually positioned in a category or for a search query be still displayed at the configured position when it is no longer in stock. A new setting named "Ignore manual positions of out of stock products" available in "Stores > Configuration > Elasticsuite > Catalog Search > Catalog Search Configuration" can now prevent this situation.
Category products preview area in Category edit screen
Category products in the frontend
By default, the Elasticsuite tracking script which collects anonymized behavioral data (search queries, product views, product sales) uses an invisible pixel to push its data to Magento. It can happen that frontend caches blocks image URLs with parameters for safety reason, preventing the collection of tracking data.
While our FAQ contains a workaround for Fastly, it is now possible to easily make the Elasticsuite tracker use the dedicated REST API endpoint which was developed several releases ago for headless themes integration. The new setting is named "Use the API to collect data" and is available in "Stores > Configuration > Elasticsuite > Tracking > Global Configuration".
When you have a very long list of options for a select or multiselect attribute, for example a "Brand" attribute with more than 100 values, it can sometimes be difficult to pick the desired option in the rule engine of the Search Optimizers or the Virtual Categories. It is because by default the options are listed in the order they were created. A new setting named "Alphabetical sorting of attribute options in the rule engine" available in "Stores > Configuration > Elasticsuite > Catalog Search > Catalog Rules Configuration" allows you to force an alphabetical sorting of the options.
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.18.1...2.10.18.2
Release 2.10.17 introduced the ability to select standard_edge_ngram as search analyzer for product attributes.
Release 2.10.17 introduced the ability to select standard_edge_ngram as search analyzer for product attributes.
By default, though, all the ngrams generated are invisible to the pre-request analysis step which determines if Elasticsuite should perform a fuzzy or an exact matching query. So if a user searches for a partial word, for instance "scre" for "screen" or "screwdriver"
standard_edge_ngram analyzed name containing "screen" or "screwdriver" will be displayed at the top of the search resultsstandard_edge_ngram analyzed name containing "screen" or "screwdriver" will compete with
The new settings Elasticsuite > Search Relevance > Spellchecking configuration > Term Vectors Configuration > [Experimental] Use edge ngram analyzer in term vectors, when set to "Yes", allows you
standard_edge_ngram analyzed product names.It is also recommended to switch to "Yes" the other experimental settings located above named "[Experimental] Use all tokens from term vectors", especially if you previously switched to "Yes" the experimental settings also located in the section "[Experimental] Use reference analyzer in term vectors".
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.18...2.10.18.1
Fixes #3030 deprecated access to an undefined property (2.10.x) by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3042
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.17.2...2.10.17.3
Update return statement for ExportProductAttributeCsv controller by @vahonc in https://github.com/Smile-SA/elasticsuite/pull/3004
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.17.1...2.10.17.2
Prevent edge_ngram analyzer being used at query time by @rbayet in https://github.com/Smile-SA/elasticsuite/pull/3000
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.17...2.10.17.1
Improve MLT query. by @romainruaud in https://github.com/Smile-SA/elasticsuite/pull/2920
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.15...2.10.15.1
[Search Merchandizing] Filter boost and use search merchandising in autocomplete by @PierreGauthier in https://github.com/Smile-SA/elasticsuite/pull/2
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.13.2...2.10.13.3
Fixing the maximum width of the index select dropdown by @vahonc in https://github.com/Smile-SA/elasticsuite/pull/2843
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.13.1...2.10.13.2
Adding support of extended_bounds for date_histogram by @romainruaud in https://github.com/Smile-SA/elasticsuite/pull/2833
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.13...2.10.13.1
Move the routing guard function after product rewrite. by @romainruaud in https://github.com/Smile-SA/elasticsuite/pull/2748
Full Changelog: https://github.com/Smile-SA/elasticsuite/compare/2.10.12...2.10.12.1
One column per quarter.