Popular content missing after reindexing from scratch

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Summary

After following the steps at How to reindex from scratch on Data Center or How to reindex from scratch on Server the content from the "Popular" tab and/or "Popular Questions" in Questions for Confluence is missing. 

Cause

For all versions of Confluence, the following files and folders may exist in the index folders:

  • <confluence-home>/index/edge
    • this is where popularity data for regular content is stored

 Edge indexes are simply pointers to what is popular in the primary index. By clearing the edge index, Confluence must learn what is popular content again, which will take time to re-learn.

Solution

Restoring plugin indexes and popular content

If you need to restore the popular data from your backup:

  1. Shut down Confluence
  2. Clear the plugin cache
  3. For each folder listed above that exists in your backup, restore it to the correct location
  4. Restart Confluence

Rebuild Confluence Questions edge index

If you want to rebuild the edge index for Confluence Questions, you can do so by submitting a POST to the following endpoint:

/rest/questions/1.0/admin/edges/reindex

(info) You can also execute this request through the REST API browser. Be sure to uncheck the "Show only public APIs" box to reveal the endpoint.

(warning) Please note that in a Data Center instance, that request will only rebuild the edge index on the node on which it's run. Additionally, the endpoint is a private API method and is subject change at any time without notice.

Last modified on Nov 24, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.