The content indexes power Confluence's search functionality. They are 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 them for some of its functionality.

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

Viewing the Content Index Summary

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

  1. Click 'Content Indexing' under the heading 'Administration' in the left-hand panel.

On this page:

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

Rebuilding the Content Indexes

The content indexes are maintained automatically, but you may need to rebuild one or both of them manually under circumstances such as these:

In new Confluence installations, the 'Did You Mean' feature is not initially activated. To activate it, you first need to build its index by clicking its 'Build' button on this page.

To rebuild either of the content indexes:

  1. Click 'Content Indexing' under the heading 'Administration' in the left-hand panel.
  2. Click the 'Rebuild' button in either the 'Search Index' or 'Did You Mean Index' sections on this page, depending on the particular index you want to rebuild.
  • If one of these indexes has not yet been built, its button will indicate 'Build' instead of 'Rebuild).
  • As shown in the image below, only one index can be (re)built at a time.

Screenshot: Content Indexing
 

Slow Reindexing

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

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

Confluence uses a search engine called Lucene. If you need to see more details of the indexed pages in your Confluence site, you can download and run Luke. Luke is a development and diagnostic tool that accesses existing Lucene indexes and allows you to display and modify their content in several ways.

Start Luke and use it to open the index directory, located in your Confluence Home directory. For example:
c:\confluence\data\confluence-home\index.

More Hints and Tips

関連トピック