Confluence 5.1 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
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 will rank the matching items by evaluating their relevance. This should mean that the items most relevant to you will appear at the top of the search results list, so that you can quickly select the item you need.
ここでは、検索によって返されたアイテムの関連性を判断する、つまり検索結果をランク付けするために Confluence で使用される方法の概要を説明します。
Philosophy behind the Ranking
Confluence gives highest priority to personal information i.e. documents which take you to a user's profile when you click on them. Collaboration is a primary function of a wiki, so Confluence makes it easy to find people.
For example, if you search for 'John Smith', the first results you see will be for John Smith's user profile and personal space. There may also be other content (wiki pages, email messages, etc) which contain the words 'John Smith'. These other content types may even have 'John Smith' as the page title and repeated multiple times in the content, but they will still appear lower down in the list of search results.
Matching terms found in the title of a page, or in the title of any content type, are considered a strong match. So are matches found in labels, because when someone applies a label it means that they think the content is particularly relevant to the labelled term.
Matches found in the content body are of average importance. If the matched term appears more than once, the document will be given a proportionately higher ranking.
We also assume that information created recently is slightly more relevant than older information.
Summary of the Ranking Method
When displaying the results of a search, Confluence applies a weighting to each of the content items returned.
To determine the weighting:
- For each content item, Confluence first applies three weightings based on the following:
- Confluence then combines the three weightings to arrive at a single weighting for the content item.
The item with the heaviest weighting will appear at the top of the list of search results, and the other items will appear below in descending order of weighting.
On this page:
関連ページ
Weighting of Content Types
Content Type | 重み付け |
---|---|
User Profile | 9 |
ページ | 8 |
ブログ | 7 |
添付ファイル | 6 |
コメント | 5 |
メール | 0.5 |
Space Description | 0.4 |
簡単な例
If the search returns 7 matching items, and each item is one of the above types, then the items will be presented in the above order on the results screen. (This example assumes that the search term is found in the same field in each item — see more about fields below.)
Weighting of Fields
Field Name | 重み付け |
---|---|
タイトル | 9 |
氏名 | 8 |
Label text | 7 |
コンテンツ | 5 |
Note that 'content' above could be the content of a page, or the content of a comment, or the body of any other content type. See more about content types above.
簡単な例
A match for a search term in the title of a document is 1.8 times (9/5) more important than a match in the content.
Weighting Based on Age
This weighting is based on the age of the item returned in the search results. The age of the item is calculated from the creation date of the item. The age intervals are quite coarse-grained, as shown in the table below.
When the Item was Created | 重み付け |
---|---|
現在 | 1.5 |
yesterday | 1.3 |
1 週間前まで | 1.25 |
1 か月前まで | 1.2 |
3 か月前まで | 1.15 |
6 か月前まで | 1.10 |
1 年前まで | 1.05 |
1 年を超える | 1 |
The weighting is fairly small, so will not have a large effect. When an item is more than a year old, the age weighting is just '1' i.e. it has no effect.
簡単な例
- If two documents match in all other ways then the newer one will be presented first.
- 比較される 2 つのドキュメントが両方とも 1 年以上前のものであれば、相対的な古さは重要ではありません。
Simplified Example
Let's assume you search for a single term.
Confluence finds a match in the title of an email message created today:
Weighting for the content type (email) | 0.5 |
Weighting for field (title) | 9 |
Weighting for age (today) | 1.5 |
Total weighting | 6.75 |
---|
Confluence also finds a match in the content of a comment created three weeks ago:
Weighting for the content type (comment) | 5 |
Weighting for field (content) | 5 |
Weighting for age (up to 1 month ago) | 1.2 |
Total weighting | 30 |
---|
Result: The comment (weighting 30) will be appear higher in the search results than the e-mail (6.75).
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 above, for purposes of illustration. If you are interested, you can see more information in the Lucene documentation.