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 doesn't allow to overwrite files.
- 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.
- Copy the installation instructions from the page My Downloadable Products / View & Download to the SSH console.
- Run command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Search Mirasvit_SearchMysql Mirasvit_SearchElastic Mirasvit_SearchAutocomplete Mirasvit_Misspell Mirasvit_SearchLanding Mirasvit_Report Mirasvit_SearchReport
to enable the extension. - Run command
php -f bin/magento setup:upgrade
to install the extension. - Run command
php -f bin/magento cache:clean
to clean the cache. -
Deploy static view files
rm -rf pub/static/frontend/*; rm -rf pub/static/backend/*;
rm -rf var/view_preprocessed/*
php -f bin/magento setup:static-content:deploy
- Run search spell-correction reindex
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.
- Go to My Downloadable Products / View & Download
- Unpack .zip package and copy contents to magento root directory
- Run command
composer require elasticsearch/elasticsearch:~5.1
to install required libraries. - Run command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Search Mirasvit_SearchMysql Mirasvit_SearchElastic Mirasvit_SearchElasticNative Mirasvit_SearchAutocomplete Mirasvit_Misspell Mirasvit_SearchLanding Mirasvit_Report Mirasvit_SearchReport
to enable the extension. - Run command
php -f bin/magento setup:upgrade
to install the extension. - Run command
php -f bin/magento cache:clean
to clean the cache. -
Deploy static view files
rm -rf pub/static/frontend/*; rm -rf pub/static/backend/*;
rm -rf var/view_preprocessed/*
php -f bin/magento setup:static-content:deploy
- Run search spell-correction reindex
php -f bin/magento indexer:reindex mst_misspell
- Go to System / Search Indexes, configure Product index and run the reindex for it.