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.

  1. Backup your store's database and web directory.
  2. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Copy the installation instructions from the page My Downloadable Products / View & Download to the SSH console.
  4. 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.
  5. Run command php -f bin/magento setup:upgrade to install the extension.
  6. Run command php -f bin/magento cache:clean to clean the cache.
  7. Deploy static view files
    rm -rf pub/static/*
    rm -rf var/view_preprocessed/*
    php -f bin/magento setup:static-content:deploy

  8. Run search spell-correction reindex php -f bin/magento indexer:reindex mst_misspell
  9. 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.

  1. Go to My Downloadable Products / View & Download
  2. Unpack .zip package and copy contents to magento root directory
  3. Run command composer require elasticsearch/elasticsearch:~5.1 to install required libraries.
  4. 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.
  5. Run command php -f bin/magento setup:upgrade to install the extension.
  6. Run command php -f bin/magento cache:clean to clean the cache.
  7. Deploy static view files
    rm -rf pub/static/*
    rm -rf var/view_preprocessed/*
    php -f bin/magento setup:static-content:deploy

  8. Run search spell-correction reindex php -f bin/magento indexer:reindex mst_misspell
  9. Go to System / Search Indexes, configure Product index and run the reindex for it.

Learn about the initial setup: