The Content Index powers Confluence's search functionality and is also used for a number of related functions such as building email threads in the mail archive, the Space Activity feature and lists of recently-updated content. The Gliffy Plugin also uses the index for some functionality.

For reasons of efficiency, content is not immediately added to the index. New and modified Confluence content is first placed in a queue, and the queue is processed once every minute (by default).

On this page:

Viewing the Content Index Summary

To see information about your Confluence instance's content indexing,

  1. Go to the 'Administration Console' view. To do this:

    • Go to a page in the space and choose 'Administration' from the 'User' menu, which is labelled with your Confluence username. The 'Administration Console' view will open.
  2. Click 'Content Indexing' under the heading 'Administration' in the left-hand panel.

スクリーンショット: インデックスの概要



Index optimisation

You can ignore the line which says 'Index optimised: NO'. Confluence optimises the index automatically twice a day. The optimised status flag as shown above was really only useful in older versions of Confluence where index optimisation had to happen more frequently due to the type of index format we were using. We'll probably remove this indicator in the next release of Confluence.

Rebuilding the Content Index

The index is maintained automatically, but you may need to rebuild it manually under circumstances such as these:

  • Your searching and mail threading are malfunctioning.
  • After an upgrade. If a reindex is required after an upgrade, it will be noted in upgrade section of the release notes.

To rebuild the content index,

  1. Go to the 'Administration Console' view. To do this:

    • Go to a page in the space and choose 'Administration' from the 'User' menu, which is labelled with your Confluence username. The 'Administration Console' view will open.
  2. Click 'Content Indexing' under the heading 'Administration' in the left-hand panel.
  3. Click 'Rebuild Search Index'.

Screenshot: Content Indexing

Slow Reindexing

インデックス再作成は完了までに長い時間がかかるのでしょうか? 時間の長さは次の要因に依存します。

  • Confluence インスタンスにおけるページ数。
  • 添付ファイルの数、タイプ、およびサイズ。
  • Confluence に割り振られたメモリの量。

It may help to increase the heap memory allocation of Confluence by following the instructions in the JIRA documentation.

Confluence の古いバージョンを実行していて、インデックスの再構築が進行していないことを確認した場合、Confluence をシャットダウンし、Java システムプロパティbucket.indexing.threads.fixed=1 に設定して再起動する必要がある場合があります。これにより、インデックス再作成がシングルスレッドで、安定して実行されるようになります (速度は低下します)。

Viewing the Index Browser

You can access the Lucene index browser used with Confluence, to see if the required documents have been added to the index.

To view the index browser,

  1. Open a browser window.
  2. Confluence にログインします。
  3. Type the following into the browser address bar: <Confluence location>/admin/indexbrowser.jsp.
    For example:
    http://localhost:8080/admin/indexbrowser.jsp
    
  4. You will be asked "Which index would you like to browse?"
  5. Type in the path of your index directory. By default, this is located at <Confluence Home directory/index>.
    For example, c:\confluence\data\index.
  6. You should see a list of indexed file names.

Screenshot: Index Browser

More Hints and Tips

  • If you are still experiencing problems after performing the above rebuild, the next step might be to remove the index and rebuild it from scratch.
    (warning) The Space Activity feature uses the index to store data. If you remove the index file, the existing activity data will disappear.
  • 開発者コミュニティ向けのヒント: Confluence ソースがある場合、SmartListManager への参照を探してコンテンツ インデックスに依存している画面とリストを見つけることができます。
関連トピック

指定したラベルを持つコンテンツはありません。

administrators guide home