Installation
In this article you will find two possible ways of our extension's installation.
Installation via composer (preferably)
We recommend this installation method because composer automatically checks and installs necessary dependencies.
- Backup your store's database and web directory.
- Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
- If you bought the extension in the mirasvit.com store, copy the installation instructions from the page My Downloadable Products / View & Download to the SSH console.
- If you bought the extension in the Magento Marketplace, run the command
composer require mirasvit/module-search-ultimate
in root folder of your store. - To enable the extension run commands:
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Search Mirasvit_SearchMysql Mirasvit_SearchSphinx Mirasvit_SearchAutocomplete Mirasvit_Misspell Mirasvit_SearchLanding Mirasvit_Report Mirasvit_SearchReport Mirasvit_SearchElasticNative php -f bin/magento setup:upgrade
-
Clean the cache
php -f bin/magento cache:clean
-
Deploy static view files
rm -rf pub/static/* rm -rf var/view_preprocessed/* php -f bin/magento setup:static-content:deploy
- Reindex search spell-correction index
php -f bin/magento indexer:reindex mst_misspell
- Go to System / Search Indexes, configure Product index and run the reindex for it.
Installation via direct file upload
You can also install the extension via direct files uploading.
- If you bought the extension in the mirasvit.com store, go to My Downloadable Products / View & Download. Download the extension package.
- If you bought the extension in the Magento Marketplace, you are not able to install the extension via direct file upload. You need to do installation via composer. Or contact Mirasvit support team.
- Unpack .zip package and copy contents to magento root directory
- Login to the SSH console of your server and navigate to the magento root directory.
- To enable the extension run commands:
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Search Mirasvit_SearchMysql Mirasvit_SearchSphinx Mirasvit_SearchAutocomplete Mirasvit_Misspell Mirasvit_SearchLanding Mirasvit_Report Mirasvit_SearchReport php -f bin/magento setup:upgrade
-
Clean the cache
php -f bin/magento cache:clean
-
Deploy static view files
rm -rf pub/static/* rm -rf var/view_preprocessed/* php -f bin/magento setup:static-content:deploy
- Reindex search spell-correction index
php -f bin/magento indexer:reindex mst_misspell
- Go to System / Search Indexes, configure Product index and run the reindex for it.
Learn about the initial setup: