Upgrading to a new version
Use Composer to update your Algolia extension for Magento Open Source and Adobe Commerce. See Upgrade an extension in the Magento developer documentation for more information.
-
Run
composer update
to update the extension to the newest version:Copy1
composer update algolia/algoliasearch-magento-2
-
After updating the extension, save the configuration again even if you didn’t change the settings: go to Stores > Configuration > Algolia Search and click Save Config at the top right.
-
After saving the configuration, reindex your Magento indices.
Read the extension’s change log for information about the differences between versions and any potential extra steps.
After upgrading
If you’re using the indexing queue, clear it after upgrading the extension, and perform a full reindex. This prevents errors with call_user_func_array()
from deleted or renamed job methods.
To clear your indexing queue:
- Go to Stores > Algolia Search > Indexing Queue and click Clear Queue at the top right
-
To perform a complete reindex, run the following command from the root of your Magento project:
Copy1
php bin/magento indexer:reindex algolia_products algolia_categories algolia_pages algolia_suggestions algolia_additional_sections