Skip to main content

Command line interface

This page contains console commands used when operating with the Product Finder extension.

Product finder reindex

The following command reindexes all finders in the store:

php -f bin/magento mirasvit:finder:reindex
ArgumentDescription
[finder_ID]To reindex a certain finder, add its ID to the end of the command.

Product import

This command imports the file with the products:

php -f bin/magento mirasvit:finder:import
ArgumentDescription
[finder_ID]Mandatory argument. Defines the ID of the finder where to import products; must be added as the first argument to the end of the command.
[file]Mandatory argument. Defines the absolute path to the file on the server. For example, /var/www/import.csv. Path must be added as the second argument using space after the first argument.
[mode]This option defines whether the current data in the finder will be overwritten or updated. Must be added after first two arguments. Can be overwrite or update. By default overwrite is applied.