Why are the Content Indices failing?

See Searching and Indexing Troubleshooting.

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. Make a backup of your <confluence-home>/index/plugin directory if it exists. This is where the Usage Tracking plugin stores it's index for the usage statistics and it cannot be rebuilt.
  3. Remove the <confluence-home>/index directory.
  4. If in step 2, you have the <confluence-home>/index/plugin directory, create the <confluence-home>/index directory and copy in the backup of <confluence-home>/index/plugin directory made in step 2.
  5. Restart server.
    (info) A new index directory will be created upon restart of your application.
  6. 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.