Confluence 2.9 : Ranking of Search Results
This page last changed on Aug 06, 2008 by smaddox.
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: Error formatting macro: toc: java.lang.NullPointerException
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. 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.
Simplified ExampleLet's assume you search for a single term. Confluence finds a match in the title of an email:
Result: The comment (weighting 25) will be appear higher in the search results than the e-mail (4.5).
RELATED TOPICSSearching Confluence Take me back to Confluence Documentation Home |
![]() |
Document generated by Confluence on Aug 07, 2008 19:09 |