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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With