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:

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:

  1. Shut down your Confluence server.
  2. Remove the <confluence-home>/index directory.
  3. Restart server.
    (info) A new index directory will be created upon restart of your application.
  4. 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.