Ranking of Search Results

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

When you perform a search in Confluence, it is likely that there will be many pages or other content items that match your search terms.

Confluence は、これらの一致したアイテムの関連性を評価してランクを設定します。つまり、自分に最も関連のあるアイテムが検索結果リストの一番上に表示されるため、必要なアイテムをすばやく選択できます。

Below is an overview of the method Confluence uses to determine the relevance of the items returned by the search, that is, to rank the search results.

Summary of the ranking method

When displaying the search results, Confluence applies a weighting to each of the content items returned.

To come up with this single weighting, Confluence first combines three separate weightings based on the following factors:

  1. The content type of the matching item – this includes user profiles, pages, blog posts, images and other attachments, etc. More details below
  2. The field type in which the matching term was found – this includes title, name, body content, labels, etc. More details below
  3. The recency of the matching item – that is, when it was created or last modified; this could be today, yesterday, up to 1 week ago, up to 1 year ago, or over 1 year ago. More details below

The item with the heaviest final weighting will appear at the top of the list of search results. All of the other content items will appear below in descending order of weighting.

Weighting by content type

CONTENTTYPEWeighting
ユーザー プロファイル

1.5

スペース1.5
ページ1.5
ブログ1.3
Attachment (files, videos and images)1
コメント1
メール1

On Confluence, you're most likely to be searching for knowledge articles, work done by a particular team or person, or ways to collaborate. Our ranking logic prioritises content types such as user profiles, spaces, and pages that are most suitable for these tasks.

tip/resting Created with Sketch.

Simple example

If your search result returns 3 items – a page, a blog, and a comment – and they are the same in every other way, then they will be ranked in the order shown above.

Weighting based on field type

フィールド タイプWeighting
タイトル2
コンテンツ1
ステミングのないタイトル1
ラベル0

Search results that match the title field are twice as important and weighted twice as highly as matches in the body content.

tip/resting Created with Sketch.

Simple example

ユーザー名を検索すると、その人のユーザー プロファイル (コンテンツは名前のみ) をランク付けした検索結果がページの上部に表示されます。これは、プロファイルのタイトル フィールドに名前が含まれているためです。この例では、その他すべての結果が同じであると仮定しています。

Weighting based on recency

Last activityWeighting
現在2.01 〜 2.05
yesterday1.92 〜 2.01
Up to 1 week ago1.52 〜 1.92
Up to 1 month ago1.46 〜 1.52
Up to 3 months ago1.36 〜 1.46
Up to 6 months ago1.25 〜 1.36
Up to 1 year ago1.11 〜 1.25
Beyond a year1-1.11

Recency is based on when an item was created or last modified, whichever happened more recently. Search gives a higher weighting to recently updated items because it assumes this content is likely to be more relevant than idle or older content.

コンテンツ アイテムが 1 年以上変更されていない場合、そのアイテムは「衰退」状態にあります。このような状態のアイテムは関連性が低く、過去 1 年以内に、さらには直近の 1 週間に変更されたコンテンツが優先される検索結果では、優先順位が低くなると想定されます。

tip/resting Created with Sketch.

Simple example

  • If two documents match in all other ways, then the newer one with be shown first.
  • If the two documents being compared are both older than a year then their relative age does not matter.


(info) Confluence uses the Apache Lucene search engine library. Lucene's score calculation has a number of additional terms, not mentioned in the above example. We have simplified the above explanation of search ranking for purposes of illustration. If you are interested, you can see more information in the Lucene documentation.

最終更新日 2022 年 11 月 29 日

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

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