We had issues where only some of the questions weren't appearing in some of our spaces. We attempted to complete a UI driven rebuild of the content index, and that failed due to an OOM received. It was decided to adjust our heap and rebuild from scratch our content index. Now we can only see ~15 questions overall. We see there are questions that have been asked, and the only way to view those old ones, is if there is a direct link reference elsewhere in a page.
Should we restore our index directory or question directory at this point? Is there another index we should complete?
Could you first try to rebuild your index from scratch and see if that helps?
The method for rebuilding the content index from scratch will vary depending on your version of Confluence.
For Confluence 5.6 and Above
Shut down Confluence
Perform a safety backup of the following two directories to a different location:
Delete the two original directories:
(Optional): If your
journalentrytable is very large (10000+ entries) we recommend that you delete the contents of this table to shorten the rebuild time.
Navigate to Confluence Admin > Content Indexing and click "Rebuild"
(Optional): If desired, restore the following directories from your backup from Step 2:
If you have trouble getting your questions back with that, please let me know your Confluence version as well as CQ version and what error messages you were seeing when the indexing failed.
I believe the majority of their issues were resolved with a second rebuild, via the UI:
It's not clear to me what the other issues were and if they were resolved in the end, but I would try both the UI rebuild and a rebuild in the filesystem.