Confluence 4.0 : Ranking of Search Results
This page last changed on Sep 07, 2011 by pwatson.
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. Below is an overview of the method Confluence uses to determine the relevance of the items returned by the search, i.e. to rank the search results. On this page: Philosophy behind the RankingConfluence 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 MethodWhen displaying the results of a search, Confluence applies a weighting to each of the content items returned. To determine the weighting:
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. Weighting of Content Types
Weighting of Fields
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.
Weighting Based on AgeThis 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.
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.
Simplified ExampleLet's assume you search for a single term. Confluence finds a match in the title of an email message created today:
Result: The comment (weighting 30) will be appear higher in the search results than the e-mail (6.75).
Related TopicsSearching Confluence Take me back to Confluence Documentation Home |
![]() |
Document generated by Confluence on Sep 19, 2011 02:32 |