Confluence Indexing External Sites

Confluence cannot easily index external sites due to technical reasons, but there are two alternatives:

  1. Confluence に外部ページを埋め込む
  2. Confluence 検索を置き換える

Technical Reasons

Confluence indexes pages using a customised Lucene search engine that returns matching pages, mail and blog posts for which the searcher has view permission. It would require significant source code modifications to enable Confluence to process search results from external pages, as the indexing process has been customised to utilise internal Confluence metadata. Note that users can still index content from new attachment filetypes.

Confluence に外部ページを埋め込む

If you only have a small number of external sites to index, you may prefer to enable the HTML-include Macro and use it embed the external content inside normal Confluence pages.

Confluence 検索を置き換える

独自のプログラマー リソースを使用して、Confluence の内部検索を、Confluence と外部サイトの両方のインデックスを作成するクローラーに置き換えることができます。この高度なオプションは、内部の検索エンジンを修正するより簡単です。すべてのページから Confluence の内部検索を削除し、内部結果ページを独自のクローラー フロントエンドに置き換える必要があります。

  1. Setup a replacement federated search engine to index the Confluence site, as well as your other sites, and provide the results that way. You would need to host a web crawler, such as these open-source crawlers. Note that you can perform a search in Confluence via the remote API

  2. Replace references to the internal search by modifying the site layout so that it links to your search front-end

  3. 検索フロントエンドを含む別のサイトをホストします。Confluence 以下のパスから見えるように、アプリケーション サーバー内の適切なコンテキスト パスに挿入することをお勧めします。Tomcat は Confluence のパスを Confluence install\confluence\WEBINF\web.xml ファイルから設定します。
  • ラベルなし