Reputation: 417
In my Magento I have some modules that do changes to DB manually. For ex., changing some attributes, or importing new products from some catalog etc.
So, Algolia hooks not used in this case.
Is there some way to proceed algolia reindex from php-script?
Upvotes: 3
Views: 671
Reputation: 251
You can use magento indexer or magerun (http://magerun.net/) or directly indexer.php with the following commands
n98-magerun --root-dir=/var/www/htdocs index:reindex algolia_search_indexer
or
php -f shell/indexer.php -- -reindex algolia_search_indexer
Upvotes: 2