Follow

How to rebuild lucene index from command line (SSH)

Navigate to your magento document root

then execute

php shell/indexer.php --reindex rebuild_search_index_lucene

 

or code below if your user is not within same group as web server

 

sudo -u apache php shell/indexer.php --reindex rebuild_search_index_lucene

 change "apache" with the user who owns your magento files and has full write/read access

to check which user runs apache  you can try

ps aux | grep apache

 

You check status of indexers by running

php shell/indexer.php

 

You can also rebuild it using admin - but make sure that your php timeout settings are set high

http://php4u.zendesk.com/entries/20260247-how-to-rebuild-lucene-index-via-admin-screen

 

You can check progress in Self-diagnozing page (see if number of products grow) or in log file

 

0 Comments

Article is closed for comments.
Powered by Zendesk