Repository navigation
2.10.7
⚠️ setup:upgrade might be long
This release contains an improvement in the tracking data storage (#2253).
TL;DR : this release contains a Setup file that can run for a long time, please keep that in mind when deploying it into production.
Elasticsuite used to store tracking data in daily indices, which ended up being quite resource consuming for an Elasticsearch cluster, especially if you have a long retention time (like 365 days) : the tracker was generating 2 daily indices for each store view (one for sessions, one for events), which means you'll have 730+ open indices after one year, or even sooner if you have multiple store views.
We needed to make an improvement here, that's why tracking indices will now be stored with monthly indices, which should drastically reduce the footprint they have in the Elasticsearch cluster : this is better to have 12 monthly indices than 365 daily indices for the same amount of data.
But we always take care of backward compatibility and we did not want merchants to lose any existing data. That's why this release contains a migration script, that will be run during the setup:upgrade : this script will use the Elasticsearch internal _reindex API to regroup all daily indices into monthly indices. This might take a long time if you have many existing tracking indices.
The operation will wrap up all existing daily indices into monthly indices, and once it's done, will delete the unused old daily indices.
Since the mapping of tracking indices has never changed since its inception, this process should not encounter any issues during merging. If this happens to be the case, the only workaround will be to manually delete the problematic daily indices.
Changes
📦 Functional
- Added a way to configure the behavioral of
rel="nofollow"for layered navigation filters : we added a new parameter for each attribute, that can be used to define if the layered navigation filters related to this attribute should be followed by robots or not.
You will see a new parameter named "Add rel="nofollow" to filter links in Layered Navigation" in the Storefront properties panel of the attribute edition screen. Available values are "Yes" or "No" (by default).
Note : Legacy behavior was "nothing", meaning the robots did follow the link. We sticked into this, so if you want to make your layered navigation filters rel="nofollow" you will have to switch this configuration for all your attributes.
🐛 Fixes
- An issue with swatches when their values are translated in multi-store setup (#2263)
- Issues (#2005 #2255) occuring with products positions on Magento Commerce with de-synced row_id/entity_id (#2266)
- Performances issues in layered navigation when many attributes are filterables (#2262)
- Performance issue in layered navigation (#2267) thanks to @lbajsarowicz
- An issue (#1933) with multi-word synonyms (#2217) thanks to @pzlamaniec contribution.
- An issue (#2230) where products with the string
no_selectionin image attribute would not be catched by the "Only Products with images" (#2231) - a REST API issue where added type was replacing and not being added to the original TypeLocators (#2236)
- an issue (#2145) where the "Schedule update" form was not working in the category edit screen in Magento Commerce version (#2249)
- an issue (#2244) where the recurring setup file could cause issue when installing a Magento with pre-configured store views in the
app/etc/config.phpfile (#2246).
💻 Technical