Serge
Serge

Reputation: 417

Algolia reindex in Magento

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

Answers (1)

Max
Max

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

Related Questions