Questions for Confluence Popular content is missing after reindexing from scratch


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

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. 

原因

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

  • <confluence-home>/index/edge
    • It contains content such as the text of pages, blog posts, and comments
  • <confluence-home>/index/edge
    • this contains data about each change, such as when a page was last edited
  • <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.

ソリューション

Restoring plugin indexes and popular content

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

  1. Confluence をシャットダウンします。
  2. Clear the plugin cache
  3. For each folder listed above that exists in your backup, restore it to the correct location
  4. Confluence を再起動します。


Rebuild Confluence Questions edge Index

First of all, remove the directory <confluence-home>/index/questions-edge to  rebuild these indexes from scratch. 

Afterwards, you can reindex this content by submitting a POST to the following endpoint:

curl -k -I -u username:password -X POST --header "X-Atlassian-Token: no-check" https://<CONFLUENCE_BASE_URL>/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.

最終更新日 2024 年 6 月 5 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.