Confluence Docs 3.0 : Rebuild the Content Indices from scratch This page last changed on Oct 02, 2009 by jlargman. ### Why are the Content Indices failing? The Content Indices (consisting of either the Search Index or the Did You Mean Index) may become corrupt and fail due to the following causes: Confluence runs out of memory. Confluence runs out of disk space. Permissions are incorrect in the <confluence-home>/index directory. The index flush trigger is not synchronized, and an environmental issue like system time is reading the flag incorrectly (bug is reported at CONF-9575, fixed in Confluence 3.0.2). For an analysis of why your index might have failed, please create a Support ticket. Make sure to attach your atlassian-confluence.log. ### Flushing the Index Queue You may be able to address the issue without a complete rebuild of the index. When you experience search problems within your Confluence instance, or cannot find things after performing an upgrade, one simple solution that can help you locate your content is to manually rebuild the index, as described in Content Index Administration. You can try either a complete rebuild, or flush the queue contents. ### Rebuilding the Failed Content Indices If you are still experiencing problems after performing the above rebuild, the next step may be to remove the index and rebuild it from scratch, as described below. For example, the rebuild procedure described above may not restore a corrupted index file. You may want to ensure that all index files are re-created.
| The Space Activity feature uses the index to store data. To preserve the activity data, keep the Plugins directory and delete the rest of the index.
To remove the index and rebuild it from scratch: Shut down your Confluence server. Remove the `<confluence-home>/index` directory. Restart server. A new index directory will be created upon restart of your application. Now perform the manual re-indexing of your site to build a brand new index from scratch. If you still cannot find your content, please contact confluence support.

Document generated by Confluence on Nov 05, 2009 23:34