The content index, also called the search index, supports Confluence's search functionality. It 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 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 five seconds (by default).

コンテンツインデックス サマリーの表示

Confluence サイトのコンテンツのインデックス作成に関する詳細を表示する手順

  1. 左側のパネルで '管理' ヘッダーの下にある 'コンテンツのインデックス作成' を選択します。

On this page:

関連ページ

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

検索インデックスの再構築

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

検索インデックスの再構築手順

  1. 左側のパネルで '管理' ヘッダーの下にある 'コンテンツのインデックス作成' を選択します。
  2. '検索インデックス' セクションで '再構築' ボタンを選択します。
    (これまでインデックスが構築されたことがない場合、 ボタンは '再構築' ではなく '構築' と表示されます。)

スクリーンショット: コンテンツのインデックス作成
 

'修正候補' のインデックスは関連しなくなりました

'修正候補' フィーチャーは 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 に設定して再起動する必要がある場合があります。これにより、インデックス再作成がシングルスレッドで、安定して実行されるようになります (速度は低下します)。

インデックスブラウザーの表示

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.

Note: Confluence 5.2 (and later) use Lucene 4.3 (or later). If the Luke library has not been updated to support the latest version of Lucene, you can compile Luke yourself, from the fork on Github – please read the warnings and notes in the README file of that repository.

その他のヒント