You are browsing upcoming documentation for version 6.0 of OroCommerce, OroCRM, and OroPlatform, scheduled for release in 2024. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Upgrade Website Index to Elasticsearch >=8.4, <9.0
You have only one option to perform the upgrade: via full reindexation.
Keep in mind that the previous OroCommerce versions (5.0 and below) have different structure for flat object fields, so full indexation is required in order to fill the data in the correct format.
This option is suitable for upgrades from all previous versions.
Search index upgrade is part of the application upgrade.
So, once you have turned on maintenance mode through
app/console lexik:maintenance:lock --env=prod, you need to perform the following actions:
- Stop old Elasticsearch
- Modify credentials for search engine configuration in the corresponding environment variables
- Start the Elasticsearch 8.* service.
Proceed with the standard upgrade procedure.
If you are skipping search indexation during the upgrade or keeping all the indices during the Elasticsearch upgrade then you have to recreate indices and trigger full indexation manually:
php bin/console oro:elasticsearch:create-standard-indexes --env=prod php bin/console oro:search:reindex --env=prod --scheduled