Search result page, showing a full path to result

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 24, 2011

When reading through the search results, such as http://confluence.atlassian.com/dosearchsite.action?queryString=3.5+search+results&where=conf_all&type=&lastModified=&contributor=&contributorUsername=

the results come back in the form

  1. Title of page (linked to page)
  2. handy links
  3. First few lines of text that match search
  4. Space page was found in (link) and date

I've had several people ask for a display of the full path to the result. In other words, they'd like to see the tooltop that you get when hovering over "title of page" to be displayed directly on screen.

Is this possible with any tweaking? If not, then which file do I need to look at amending?

2 answers

1 accepted

1 vote
Answer accepted
Daniel
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2011

You can do this with a search result renderer

http://confluence.atlassian.com/display/CONFDEV/Writing+a+search+result+renderer

The one used in Confluence is open source and available at

https://bitbucket.org/rthomas/search-result-enhancer/src

so you can tweak that one, or of course write your own own from scratch.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2011

Oooh, that looks like it will solve this problem, thanks Daniel!

It might be able to help us with the fundamentally broken searching in Confluence too.

0 votes
Ma Hao
Contributor
October 11, 2013

Hi,


I tried to use the SearchResultRender to customize the render.

But it is not working for Confluence 5.3.

The documents seems like i do not have permission to view.

Why is that?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events