General / How To
How do I rebuild my search indexes?
Search indexes can be rebuilt by following these steps:
- Click Menu > Administration.
- In the Search section, click Search Indexing.
- Confirm that your Index Location is correct (this directory should exist on the application server directly under the tomcat folder, by default it will be named indexes).
- Check the Rebuild Search Index box.
- Click Submit.
At this point a background process will begin to rebuild the search indexes and the following message will appear in the cascade.log file:
INFO [SearchServiceImpl] Rebuilding search index
Once complete, a message similar to the following will appear:
INFO [SearchServiceImpl] Rebuilding search index finished in 5 minutes
For search indexes to be successfully maintained, the OS user account that starts the Cascade CMS process (found under Administration > Logs & System Information > User Name) must have full control of the directory listed in the Search Index Location field.
Note: This process can take anywhere from a couple of minutes to several hours. It is completely dependent on the size of the database as well as other operations that may be occurring in the system at the time of the rebuild.
Note: Search indexes are rebuilt automatically in the event that a Site is renamed or the environment is restarted.