🎉 Try the public beta of the new docs site at algolia.com/doc-beta! 🎉
Integrations / Magento 2

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.

  1. Run composer update to update the extension to the newest version:

    1
    
    composer update algolia/algoliasearch-magento-2
    
  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.

  3. 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:

  1. Go to Stores > Algolia Search > Indexing Queue and click Clear Queue at the top right
  2. To perform a complete reindex, run the following command from the root of your Magento project:

    1
    
    php bin/magento indexer:reindex algolia_products algolia_categories algolia_pages algolia_suggestions algolia_additional_sections
    
Did you find this page helpful?