Search the Confluence 4.1.x Documentation:

Index
Downloads (PDF, HTML & XML formats)
Other versions

This documentation relates to Confluence 4.1.x
If you are using an earlier version, please view the previous versions of the Confluence documentation and select the relevant version.
Skip to end of metadata
Go to start of metadata

Quick guide to searching in Confluence:

  1. Use the search box at the top right of your Confluence screen. It offers you a quick navigation aid as well as a full site search.


  2. You can search Confluence directly from your browser's search box. Just add your Confluence site as a search provider using the dropdown menu in your browser's search box.
  3.  While editing a page or a blog post, you can find and replace text on the page. See Using the Editor.

 

Using the Quick Navigation Aid

The quick navigation aid automatically offers a dropdown list of pages and other items, matched by title to your search query. You can select one of the offered items or ignore them altogether.

To use the quick navigation aid:

  1. Start typing your query into the search box located at the top right-hand corner of every screen. Confluence matches titles as you type, showing a quickly-adjusting dropdown list of pages, blog posts, personal profiles, attachments and so on.
    (info) Press the Enter key if you want to bypass the quick navigation aid and perform a full search, as described below.
  2. To see the space to which an item belongs, let your mouse pointer hover over the item in the dropdown list.
  3. Use the up- and down-arrows on your keyboard to move up and down the list of matching titles and select an item.
  4. Press the Enter key to open the selected item.
  5. If you do not find what you are looking for, click Search for at the bottom of the list to do a full search. This has the same effect as pressing Enter immediately after typing your search query. The full search is described below.

Screenshot: The quick navigation aid showing titles matching the query 'con'

Here is more information about how the quick navigation feature works:

  • Confluence will truncate any titles that are too long to be displayed.
  • If a title is too long to fit the box, hover your cursor over the title to see the full text.
  • The matching items are grouped by content type so that you can quickly find the type you want. Confluence shows a maximum of 6 pages and/or blog posts, 2 attachments, 3 people and 2 spaces. If no matches are found in a particular category, then that category does not appear in the list.
  • Items are ordered with the most recent updates first.
  • When the matching item is a person's name, their profile picture appears next to their name in the list.
  • The part of the title that is matched by the search query is highlighted in bold text.
  • Your Confluence Administrator can enable or disable the quick navigation feature using the Confluence Administration Console.

 

Performing a Full Search

When you perform a full search, Confluence will search all content in all spaces (global and personal), mail, personal profiles, attachments and the space description. The results will appear on a new screen.

For the developers

The rendering of search results in Confluence is pluggable. If you are a developer, you may wish to write your own search result renderer to change how the search results are displayed. For more information, please refer to the following developer document: Writing a search result renderer.

To use the full search:

  1. Type your query into the search box located at the top right-hand corner of every screen (or type it into the text box at the top of the Search screen).
  2. Press the Enter key. (This means that you will ignore the dropdown list of titles offered by Confluence's quick navigation aid, described above.)
  3. The Search screen appears, as shown below. If any Confluence pages or items match your search query, the Search screen shows a list of the matching items.
  4. Click an item's title to open the Confluence page or other item.

Screenshot: Results of searching for 'permissions'

On the left of the screen you will see a text block for each item that matched the search criteria, with the following information for each item:

  • An icon representing the content type (user profile, space, page, blog post, etc). See Confluence Icons.
  • The title or name of the content item.
  • For attachments: The size and type of file, with a link to download or view the attachment where relevant. See information on viewing Office attachments below.
  • For image files: A thumbnail of the image will display to the right of the file name.
  • The most relevant few lines of content from within the item. Any words that match your search query are highlighted within the content.
  • For personal profile items: The email address.
  • The space to which the item belongs, displayed on the last line of the item's text block.
  • The date when the content item was last modified.

You will see only search results which you have permission to view.

On the right of the screen are further options which allow you to tailor or filter your search results. See below.

Viewing Attached Office Documents

When the search results include an attached Office document, you will see a View link as shown in the screen snippet below.

Screenshot: Search results include an attached Office document with 'View' link


Click the View link to view the content of the Office document within Confluence. If you have an Office application installed, you will also be able to launch your Office editor from within Confluence. See Displaying Office Files in Confluence and Working with the Office Connector.

Accepting 'Did you mean' Suggestions from Confluence

When you perform a full Confluence search, as described above, Confluence may offer you an alternative spelling of your search query. The alternative spelling will appear next to the words 'Did you mean', as shown in the example below.

To accept an alternative spelling suggestion:

  1. Type your query into the search box.
  2. Press the Enter key.
  3. Confluence will analyse the wiki content, to determine whether an alternative spelling of your search query occurs more often in the wiki content. If this is the case, the words 'Did you mean' will appear on the screen, along with an alternative spelling for your search query.
  4. If you want to try the alternative spelling, click the word showing the suggested spelling. In the example below, you would click confluence.

Screenshot: The Search screen with 'Did you mean' offering a corrected spelling


Here is more information about how the 'Did you mean' feature works:

  • Confluence uses both a dictionary (bundled with Confluence) and words mined from the content on your system to work out the best alternative spellings of your search terms. Practically, this means that Confluence can provide spelling corrections for specialised jargon that may not appear in a standard dictionary. In general, when deciding between alternative spellings, Confluence will favour words that appear more often in your content.
  • In some cases, the 'Did you mean' suggestion may appear even when there are Confluence pages, etc, which match your search query. In other cases, there will be no items which match your search criteria. In both cases, Confluence will offer a 'Did you mean' suggestion if there is a word which will help you find more relevant content.
  • The 'Did you mean' feature may offer more than one suggestion.
  • The 'Did you mean' suggestion may even offer an incorrect spelling. This would happen if the incorrect spelling occurs many times within your Confluence site. This is intentional, because the aim of the 'Did you mean' feature is to help you find content, not to correct your spelling.
  • Your Confluence Administrator can enable or disable the 'Did you mean' feature using the Confluence Administration Console.

Filtering your Search Results

The Search screen, pictured above, appears when you do your first search. By default, Confluence will search all content across your Confluence site, including all spaces, mail archives, attachments and all other content types.

On the right of the screen are options which allow you to tailor or filter the search results.

Enter your filter criteria as described below, then click Filter.

  • Where — Restrict your search results to a particular space, or to your favourite spaces, global spaces or personal spaces.
  • What — Restrict your search results to a particular content type (pages, blog posts, mail, etc).
  • When — Restrict your search results to content modified within a particular period of time (today, yesterday, within the last week or within the last month).
  • Who— Restrict your search results to content last modified by a particular user. You can start typing the person's username or part of their name into the text box as follows:
    • Type the username (e.g. 'jsmith').
    • Or start typing the person's first name (e.g. 'john')
    • Or their last name (e.g. 'smith').
    • Or another part of their name, such as a middle name.
      Confluence will offer you a list of possible matches. Use your mouse to select the person you want, then press the Enter key to filter the search results.

Screenshot: Filtering your search results by user

More information about the user-matching filter:

  • The user-matching filter is not case sensitive. You can enter upper or lower case letters and will receive the same results.
  • When looking for users to match the name you entered, Confluence divides a person's name into logical units corresponding to first name, middle name (one or more) and last name. It matches the letters of each unit in the name you entered against the letters of each unit in the user directory. For example, you can enter 'jo sm' to look for John Smith. The search is triggered after you have entered at least two letters.
  • For each part of the name, you need to enter at least two letters. For example, if you enter just 'john s', the filter will look for users called 'john' and will ignore the 's'. Similarly, if you enter 'j smith' you will see everyone with the name 'smith' even if their first name does not start with a 'j'.
  • You are not forced to use the auto-complete list. You can just type 'jsmith' or 'jo sm' and filter on that without choosing a match from the dropdown list. Confluence will warn you if there is more than one user corresponding to the name you have entered.

Click Clear Filter if you want to remove all your filters and perform the same search again but without the filter.

Search Options When Using the Documentation Theme

When using the Documentation theme, the Confluence search offers a few options as described below.

Using the search box at the top right of the page:

  • By default, the main Confluence search is configured to search the entire Confluence site.
    • You will see the words 'Search Confluence' in the search box at top right of the page.
    • The Confluence search will look for matches in the entire Confluence site. This is the default behaviour for other themes too.
  • A space administrator can configure the Documentation theme to restrict the search to the current space.
    • You will see the words 'Search this space' in the search box at top right of the page.
    • The search will return results from the current space only.
    • You can override the search restriction. Enter 'all:' and your search term to search the entire site. For example, enter the following into the search box at top right of the page to search the entire site for 'technical writing':
      all: technical writing
      

Using the search box in the left-hand panel:

  • By default, the Documentation theme's left-hand panel includes a search box. Enter your search term there, to restrict the search to the current space. Specifically, this will search only the pages that are children of the space's home page.
  • If your administrator has restricted the main search to the current space, there will not be a search box in the left-hand panel.

For screenshots and a full description, see Using the Documentation Theme.

Advanced Search Syntax

See Confluence Search Syntax for more ways to refine the text you enter into the search box.

Additionally, see Confluence Search Fields for special parameters you can use in the search box to search on various metadata.

Browsing Related Labels

Also on the right of the Search screen, Confluence will offer a list of labels which are related to your search query. See the screenshot above.

You can click a label to see all pages and blog posts tagged with that label. See Navigating Pages by Label.

Searching the Content of Attachments

When you search Confluence, by default the search will include the content of the following types of attachments:

  • Word
  • Text
  • PowerPoint
  • Excel
  • PDF
  • HTML

To search the content of other attachment types, you will need to use an attachment content extractor plugin. For more information, take a look at the following:

Searching Confluence from your Browser's Search Box

If you are using Firefox or Internet Explorer 7 or later, you can add add your Confluence site as a search provider, using the dropdown menu next to the browser's search box.

The example below shows the 'Extranet' Confluence site offered for inclusion as a search engine in the browser's search box.

Screenshot: Adding your Confluence site to your browser's search box

Information about OpenSearch:

  • Confluence supports the autodiscovery part of the OpenSearch standard, by supplying an OpenSearch description document. This is an XML file that describes the web interface provided by Confluence's search function.
  • Any client applications that support OpenSearch will be able to add Confluence to their list of search engines.
  • Your Confluence Administrator can enable or disable the Open Search feature using the Confluence Administration Console.

Related Topics

Confluence Search Syntax
Confluence Search Fields
Ranking of Search Results
Text Tokenisation and Filtering
Search Results Macro
Livesearch Macro
Page Tree Macro (includes an optional search box)
Viewing Labelled Pages
Searching the People Directory

Take me back to the Confluence User's Guide.

  1. Mar 30, 2009

    Anonymous

    Only if you add your Confluence site to your browser's search box while on the Dashboard will the search actually work. Adding it (to FF) while in a Space will give the following error when you use it to search:
    "Address Not Found
    wiki.wwf.org.audosearchsite.action could not be found. Please check the name and try again."

    1. Mar 30, 2009

      Can you please ensure that the server base URL is correct? Can you replicate this problem on this documentation site (dashboard, space)?

  2. Apr 14, 2009

    Anonymous

    This is very usefull !
    Thinks!

    Aska

  3. Jun 03, 2009

    Does anyone know if you can change the 'No results found' message?

    I would like to change this message to link back to our intranet site but am not sure if this possible. \\\

    Any ideas?

    1. Jun 23, 2009

      Hi Anh Bui,

      Yes, you can. You need to edit the vmd file responsible for the particular page.
      In your case, this will be /confluence/decorators/components/search-results.vmd.

      Find for the following code, it will be almost at the bottom of the file:

      And include one line that points to your intranet back. For example, this will point you back to your dashboard:

      Hope this helps.

      Cheers
      JSashi

      1. Jul 21, 2011

        Hi JSashi,

        What would be the syntax to return to a confluence site (not the dashboard) on the search-results.vmd page?

        Thanks

        Michael

  4. Jul 16, 2009

    Is it possible to modify the search function to allow searching of multiple spaces? So, for example, changing from a drop-down list where only one space can be selected (producing a &where=SPACE statement in the query string) to a checkbox that would allow the user to select more than one?

    1. Aug 10, 2009

      Hi Adam,

      I am afraid this is not currently possible. However, I have found similar feature requests that highlight your requirement:

      Please add yourself as a watcher, vote for this feature and add your own comments to this feature request. For further details on how we include new features and improvements, you might want to read this page.

      Cheers
      JSashi

  5. Aug 11, 2009

    Anonymous

    Hi,

    How to set the Search box to be case-non-sensitive.

    For example when I search for "mypage" only pages containing "mypage", "Mypage" are returned but not pages containing "MyPage" or or "MYPAGE".

    Thanks.

    Regards.

    SB

    1. Aug 18, 2009

      Hi,

      How to set the Search box to be case-non-sensitive.

      For example when I search for "mypage" only pages containing "mypage", "Mypage" are returned but not pages containing "MyPage" or or "MYPAGE".

      As far as I know, the feature requested is not available yet. However, you might want to raise a feature request in JIRA:

      Hope that helps.
      Best rgds,
      Zed

  6. Sep 25, 2009

    Hi there, look at my screenshot in the bottom of the comment (URL: http://img201.imageshack.us/img201/7616/searchtrouble.jpg)
    As you can see, I have created a document called "Bogus Bananas".
    For some reason the "normal" search is unable to find the page, while the "live search" finds it instantly!
    If I search for "Bogus Banan" i also get 0 hits. But hold on - if I search for "Bogus Banana" (without the "s" in the end) it suddenly finds the page.
    How can i solve this problem?

    1. Sep 27, 2009

      The Quick Nav search matches to the page title because it is autocompleting the string you have typed.

      The "normal" search is trying to find an exact match, which is why it doesn't find the page (as "ba" and "bananas" are two different words). To perform a wild card search, you need to use the * symbol. That is, searching for the string "bogus ba*" will match to the page title.

      See here for more information on search syntax.

      1. Sep 28, 2009

        The Quick Nav search matches to the page title because it is autocompleting the string you have typed.

        Thanks for clearing that up!

  7. Oct 09, 2009

    Is there a way to include "Breadcrump" in the search results?
    That is - showing every parent page of the page which returned the result?
    It only shows the Spaces atm - is there a file I could edit to include Breadcrump instead of the spacename?
    Or is this perhaps a feature request?

    1. Oct 19, 2009

      Hi Jonny,

      Is there a way to include "Breadcrump" in the search results?
      That is - showing every parent page of the page which returned the result?
      It only shows the Spaces atm - is there a file I could edit to include Breadcrump instead of the spacename?
      Or is this perhaps a feature request?

      As far as I know, the feature requested is not available yet. However, I found a feature request in JIRA:

      Please add your comments to the discussion, vote on it and add yourself as a watcher for future updates. Also, please bear in mind the following document on how we schedule features for inclusion in our products: Implementation of New Features and Improvements.

      Hope that helps.
      Best rgds,
      Zed

  8. Oct 27, 2009

    Anonymous

    Is it possible to limit the search box (in the top right of every page) to search only my space by default? Or will people need to always do an advanced search and limit it manually?

    1. Nov 04, 2009

      Hi,
      The 'search by space' is not available in Confluence yet. Atlassian has an existing feature request on this:

      Please feel free to cast your vote, share your comment over there, and add yourself as a watcher for future update. Please also take note on how we implement new features and improvements.

      Cheers,

  9. Dec 01, 2009

    Hi!

    Is it possible to change the number of results displayed per page? The default is 10 results per page, but 20 would be more useful for our purposes. I can't find a setting for this nor any discussion for this in the documentation.

    Thanks for your help!

    1. Dec 01, 2009

      Hi Jonas,

      I am afraid that this is not currently possible. However, I have found a similar feature request. Please add yourself as a watcher, vote for this feature and add your own comments to this feature request. For further details on how we include new features and improvements, you might want to read this page

      Hope that helps.

      Cheers
      JSashi

  10. Dec 16, 2009

    Anonymous

    Hi,

    If I have secured space, let's say HR or Legal which I do not want to have access to general audiance which I think I can set up. But when people try to search this secured content, would that appear in their search results?

    Thanks,

    Nick

    1. Dec 16, 2009

      No - if a user does not have 'View' permission for a space, then content from that space will not appear in search results for that user.

      Cheers,
      Mark

  11. Jan 07, 2010

    Anonymous

    We have a lot of spaces (One space for each released version of our product). By using "Favorite Spaces" then one can limit the search. But how can one make the "Favorite Spaces" the default search location ?

    1. Jan 28, 2010

      You can append a URL parameter "where=conf_favorites" to every request for the search results. For instance:

      http://confluence/dosearchsite.action?queryString=marshmallow&where=conf_favorites

      To make it appended automatically, you can probably edit the templates that render the search fields. One place that I can think of is in <confluence-install>/confluence/template/includes/macros.vm:

      <form id="quick-search" class="quick-search" method="get" action="$req.contextPath/dosearchsite.action">

  12. Feb 08, 2010

    Does confluence support a cached page view for search result just like google search results. For e.g: When one searches in google, in each search result, google provides a "Cached" link (if it has a snapshot of that page in cache). When user selects the cache link to view the details of the search result, it highlights all the search words in the page. Is this possible in a search result displayed in Confluence, where when user views the details page returned in a search result, the page displays with the search words highlighted

    Thank you

    Lumina 

    1. Feb 08, 2010

      Hi Lumina,
      Unfortunately, the feature that you are after is not available now. Currently, Confluence only can highlight the search keyword in the search result title and description. We do have a similar feature request being tracked here:

      Please feel free to share your comment, vote on it, and add yourself as a watcher for future update.

      Thanks & regards,
      Jack

      1. Feb 08, 2010

        Thanks Jack, I will add myself as a watcher on the request. Have a great day

        Regards

        Lumina

        1. Feb 09, 2010

          Hi Lumina,
          You are welcome. Please feel free to ask again if you need further assistant.

          Cheers,
          Jack

  13. Mar 08, 2010

    Anonymous

    Hello together,

    is it possible to change the location of the search field from right to e.g. left?

    Many Thanks!

    Regards,

    Pat

    1. Mar 08, 2010

      Hi

      I have a mere suggestion you can try edit the Main Layout via Confluence Admin >> Layouts >> Main Layout. Now look for the following code:

      Now you can relocate position of the search box by relocating the code in the Main layout

      Hope that helps.
      Best rgds,
      Zed

      1. Mar 08, 2010

        Anonymous

        Thanks... but now I have one search field on each level of the site (on the right site) with a grey background.

        Do you have any idea? Many Thanks!

        Regards,

        Pat

  14. Mar 15, 2010

    Anonymous

    Is there a way to weight spaces so that hits from various spaces rank higher in the search results?

    For example a space that is more formal, eg written by the leaders, might want to be weighted higher so to generally have matching results appear higher on the result list.

    1. Mar 16, 2010

      Hi,

      I am afraid that this is not currently possible. Feel free to raise a feature request at http://jira.atlassian.com and describe in detail how you require this feature to work. Please add yourself as a watcher, vote for this feature and add your own comments to this feature request. For further details on how we include new features and improvements, you might want to read this page

      For further details about ranking of search results, you might want to check this documentation.

      Cheers
      JSashi

  15. Mar 22, 2010

    Anonymous

    Hi,

    Is there a reason why sometimes I see some code in the search results where the extract from the page or attachement is.  I see some of the content but I also see some markup.  I don't think this happens all the time.

    Regards,

    Heather

  16. May 12, 2010

    Hi,

    I use lots of linking for terms and I would like to know how I could set confluence that way that it renders the content of search results?

    The content gets unreadable due to sometimes macros and all links showing up. Sometimes I get just a few words of content and the rest are  raw links as markups.

    It is also hard to find something if you search for one word in content but you have this name also used as a page or space name. It would be helpful to exclude in the search result the links but not the linknames.

    As it is I get for example 100 search results for a word which is only one time used inside a content but 100 times inside a link. I have to look them all through until I find the single file which should have shown up only with a search for a word.

    Does anyone know how to generate a search that shows up only real content as it would show up in display view?

    May I use linking in a wrong manner, how do I avoid that behavior?

    Cheers

    Klaus

  17. May 12, 2010

    Hi,

    Is it possible to set the Quick Nav for using non English characters?

    If  I search for a page with an accent on its name (for instance, "Mètriques", wich means metrics in catalan) the quick nav tool doesn't show me any information, but if I hit "Enter" going for the full search, I do get the page.

    Thanks  regards,

    Tony

    1. May 17, 2010

      Hi Tony,

      I believe you are encountering this bug. I would suggest you to add yourself as a watcher for the mentioned bug report and feel free to comment or address your concerns through it. For further details on our bug fixing policy, you might want to read this page

      Cheers
      JSashi

  18. Jul 14, 2010

    Hi,

    I am currently evaluating confluence and all of the documents I added within the past 5 days are not appearing in search results but most appear in the index. Some are not even appearing in the index but when I try to re-upload the documents, I get an error message saying that a page with that title already exists.

    Any ideas about why this is happening?

    Thanks,

    Catherine

    1. Jul 14, 2010

      What version of Confluence? How long did it run without problem? What did you or someone do - 5 days ago with the installation? Do you have administrator rights?

      1. Jul 14, 2010

        Version 3.2.1. I have administrator rights.  It was working without a problem since June 30. Now I think that the problem is that I'm using the evaluation version and not the production version.  Is it possible that there is just not enough memory? The space has many large attachements (a few hundred)

        1. Jul 14, 2010

          well… than you could upgrade to 3.3 since in 3,2,1 there is a bug with the quartz.jar 1.6. With 3.3. you get quartz.jar 1.8 which solves an issue that indexing does not work properly on some installs. After upgrading to 3.3 make sure to upgrade also outdated plugins. After that redo an index on scratch in the administer area. That all should solve it. If you cant upgrade to 3.3. for any reason you should upgrade the quartz.jar to 1.8. What actually happens due to this bug is that your servers Java hangs not totally but on some indexing library files on the server. After reboot it will work a while and than it will hang again. Thats why you have sometimes pages indexed and some not.

          Not enough memory just makes it slow down but not loose indexes for my experience. You can check the service on the administration page how much memory is in use. I have a big install too and 1GB of RAM should handle one install on a server. But see your servers memory allocation and look how many pages are swapped to disk and how large your free memory is. That should give you some reality of whether or not any change on memory setting will speed up your system. On my installation I have had the same experience and quartz.jar 1.8 solved it.

          The eval version is no good for an install if you dont run an external database like MySQL but the eval will work from an technical point of view. You should spend 10$ and use the Standalone installation instead, otherwise you will need to export and import all spaces.

          cheers

          see: indexing

  19. Aug 11, 2010

    Hi,

    I'm creating a lot of large pages, with lots of headings (heading 3 and 5) . The table of contents is autogenerated with the toc macro. So far so good. If I search for content which is somewhere on those pages, the page containing the content is listed. If I click on the page, I just get to the top of the page and not to the content I was searching for. This is very frustrating, because I have then to search either in the table of contents or with firefox search-function (ctrl-f).

    This all is resulting in a double-search, which is quite annoying.

    Is there a way, to make search more comfortable ?

    1. Aug 11, 2010

      You can use anchors in addition to get the right part of the content at the top of the window displayed.

      I use subpages instead. I create a main page with a number of subpages for each paragraph. On the parent page I use the include macro to include all content of the subpages. If I search than, it first brings up the paragraph. I included scrollbar macro or a link in general layout for that space to be able to easy go to the parent page.

      Creating large pages makes them not that convenient to read. I found it better to use scrollbar to move from paragraph to paragraph while I still have the large pages existing as a parent page for e.g. printing.

      I first used this method, because I could not figure out how to handover a search to firefox, that it does automatically do a research on the page called up after a search, like you might know it using a MAC after a spotlight search. Later on I found out that people could read better small portions instead of getting overwhelmed with a long never ending page.

      The feature to get words and/or paragraphs get highlighted after a search is missing in confluence. 

      1. Sep 01, 2010

        Hi Klaus

        sorry for the delay, I was on vacation.

        Thx a lot for your advice! I will try this and see if it works better like that. Problem is, that I would have to create
        approx. 500 subpages, most of them with several images on them, which I would have to upload all again.

        I will check how long this all would take, before I decide which way to go.

        again, thanks for your help

        cheers

        Lenny

        1. Sep 01, 2010

          Hi,

          first of all, you dont need to upload the images again, as you need just to add the source page name to the link of the image!

          You can place and view on any page any image from any other page as long as you have access to it.

          I did organize it like chapters and paragraphs as you would do in a book, while on the end the whole bokk is on one page. This makes it easier if you want to apply changes or if you search for something.

          So you just copy the whole content of your page to word, edit the links of the images so that they point to the current page that include the images. Than you create subpages and place portions of the content into subpages. Doing so, you can easily keep the current page as is and swap to the new one whenever you are ready with all subpages.

          The disadvantage of this workaround using subpages is, that later changes of page names are not updated on the parent page because macros dont get updated as links would do.

          good luck

          1. Sep 08, 2010

            Dear Klaus,

            thx you so much for your help.

            I will try as you suggested. It is not perfect but the best solution there is at the moment.

            I think like this the it is easiest for the people to find stuff.

            cheers

            Lenny

  20. Sep 01, 2010

    Anonymous

    Is it possible to search by author, to find all pages a particular user has created? I know that I can filter results by author, but my initial search results for usernames only include pages containing the username in the page content.

    1. Apr 06, 2011

      Sorry for the late response, but yes this is possible by doing a fielded search like this
      creatorName: username

      Note that you can only use the username in the fielded search. For other fields head over to Confluence Search Fields

      1. Apr 07, 2011

        Regarding this... The search page could use an update. Perhaps the most blatant omission is the possibility to use labels to limit search results. Sure, everything is possible using the search fields, but not everyone is technical enough to use the syntax. Separate fields would be much more user-friendly.

        Here are suggestions for fields to include (or improve) in the Full Search:

        • Filter by label
        • Filter by age (also "older than" and "between specific dates")
        • Allow multiple selections in any category (multiple spaces, multiple authors, multiple content types)
        • Filter by attachment type (images, non-image attachments, office documents, pdfs)
        • Change the number of search results shown per page (current non-configurable default of 10 makes browsing through 200 search results really slow)

        A wilder idea would be to build a whole new search page using faceted navigation. It could be, say, an AJAX tool where you can type search terms or filters in a number of boxes. Each search performed would take those terms/filters and show them in bubbles below the search fields. You could then see which filters apply to the current search and quickly remove each filter by clicking on an X in the corner of the bubble. The number of search results would always show at the top so you can see how the filters affect your query.

        Space: Confluence 3.5 OR Confluence 3.4 User: Jonas Lindström Age: Older than 1 year Labels: (confluence OR conf OR confluence-3.5) AND search
        18 results in 2 spaces

        Results...

        The cherry on top would be to dynamically hide those field values that have no relevance to the current query. For instance, if I search for content "older than 1 year", all spaces created within the past year would disappear from the space field until I remove the age filter, because they all have 0 results to the query "content older than 1 year". This would greatly speed up searching for specific content that is difficult to find by content search only. (smile)

        This function is most relevant for large instances with tens of thousand of pages, where keeping track of all content becomes impossible. A faceted search page like this not only makes it easier for users to find relevant content, but also facilitates managing large volumes of content since this is an excellent tool for cleaning operations. Let's say that I want to archive all content older than 2 years within a group of spaces. I would first like to know how many pages and attachments there actually are in those spaces with those attributes and perhaps browse through them first on a superficial basis before archiving or removing them. A faceted search provides a quick and visual way of grouping content using different conditions.

        1. Apr 07, 2011

          Thank you Jonas!
          We are well aware that the search page needs updating and work. I really appreciate your feedback. We have a number of alternatives we are currently considering, among them faceting. With all the work with Confluence 4.0 this will not fit into that release. I wish I could give a timeline or a version where we aim to get this done but at the moment I can not do that. I have read all your suggestions and I will take them into account when I look further into this. If you feel you have more suggestions (or complaints, as that helps me know what needs attention), do not hesitate to send me an e-mail.

      2. Dec 01, 2011

        Anonymous

        That doesn't return anything even though a valid user name or userid is used. Not from the search form or the search macro.

        In my opinion an empty search box, or search phrase * combined with picking a user form the list of users should produce a list of all pages the user made or was the last one to change.

        1. Dec 01, 2011

          a search like creatorName: dkjellin will return all content created by me (you can try it here). An empty search box would cause a fairly significant performance problem which is why it is disabled. I believe the workaround by doing a fielded search is reasonable and should not cause too much hassle. I agree that this could be improved however.

        2. Dec 02, 2011

          Whenever I want to make listings of content, I perform searches where I only enter into the search box:

          type:page

          Then I choose some filters from the right-hand side and hit search. Of course sometimes you want to list other content than pages, but even so you can specify all of those into the search box:

          type:page OR type:blogpost OR type:attachment OR type:comment
  21. Oct 05, 2010

    Is there a way to hide the Filters from the search results page? I use the livesearch macro, set to search within specific spaces based on user group, and it works fine if the user clicks on a link in the drop-down. However, if they click Go, they are able to see and select other spaces (for which they do not have permissions) in the Where filter. Even though selecting these other spaces doesn't have an effect on the search results, it still looks like they can search those spaces. I'd like to have the ability to hide the entire Filters section, if possible. Thanks!

  22. Oct 11, 2010

    Anonymous

    Is there a way to hide username from search results? It currently displays

    Firstname Lastname (username)
    email address
    

    instead how will I make the results as shown below without the username.

    Firstname Lastname
    email address
    

    Please share your thoughts.

    1. Apr 06, 2011

      This is possible. You would have to write (a very simple) plugin to do so. With that renderer you can then customise the output to be exactly what you want it to be. This is available in Confluence 3.2 and later. For documentation on how to write a search result renderer please see Writing a search result renderer

  23. Feb 24, 2011

    is there a way to not to have a filter screen with search results. Problem is we have lot of anonymous users and we dont want to show them the space names that we have.. i can restrict user search to the particular space using space attribute.. bt then filter screen displayes all the spaces available..

    1. Feb 25, 2011

      Hi kaustubh,

      At least for me, logging in with a user with less privileges than my own, going to the search screen, and opening the dropdown menu, I only see those spaces that I am permitted to search in.

      If you disable anonymous access for a certain space, anonymous users should not be able to see that space in any context.

      1. Feb 28, 2011

        Hey Jonas .. thanks for the reply .. i was more keen on no displaying the filter option to the user. Our site may have many spaces and user may have anonymous access to them .. but still we want to restrict user in space context. ANyways i have hid that using stylesheet. :)

        Also can anybody help me in another problem. While trying to search the pages, search box macro is returning HTML page snippets in raw html code format. I mean the search result snippet contains html code than the display value of it... Is there a way i can overcome this ?

        1. Apr 19, 2011

          How did you hide the filter option in the stylesheet? This is exactly what I need to do, but I'm

          new to wikis and stylesheets and could really use some pointers.

  24. Apr 01, 2011

    Anonymous

    When you "Search Confluence" I understand that it will search through the emails on the wiki.  Will it also search through attachments of all the emails? Such as PDF's?

    1. Apr 06, 2011

      It will by default search mail attachments as well.

  25. May 02, 2011

    Hello,

    I upgraded our Confluence from 3.3 to 3.5.2 and now the quick navigation search thing doesn't work on any pages except for the admin section. This makes me think there is something wrong with the search box, but using firebug I can see that the html is the same as the admin search box and I'm not getting any javascript errors so I don't know what is going on.

    Any help would be appreciated. Thanks!

    EDIT: We are using the lastest RefinedWiki Theme

    EDIT2: Fixed the issue. It had to do with some custom javascript for AJS functions not loading but not indicating an error.

    1. May 02, 2011

      I do have a testing system running under same condition without any trouble – maybe that your server URL has been misconfigured somehow - check this out!

  26. Aug 09, 2011

    Anonymous

    Hello, I would like to know how is it possible to hide the quick search box ?

    thanks

  27. Aug 09, 2011

    Anonymous

    I have the standard search box, which makes use of quick navigation, in the header of all of my pages. When I try to add another search box (and I've tried several kinds, including builder-search since I'm using Theme Builder), quick navigation doesn't work for the second search box. The second search box is limited to searching the space only. Is quick navigation only available for one search box per page? Any suggestions? I've tried livesearch, which is working, but I dont' like the way the results are being displayed.

    1. Aug 10, 2011

      You can try instantsearch, which is based on livesearch but is more configurable (also layout- and appearance-wise). We use that for all our search needs in Theme Builder.

      Perks compared to quicksearch:

      • Can be limited to the current space only
      • In global search, can display the space in which the search result resides + the path to it
      • Can optionally display the page excerpt
      • Can optionally highlight the search term(s) in the search result
      • Input field, button and search results can be styled separately
      • Also looks for search terms in space name, labels and content (quicksearch uses only the page title)

      Disadvantages compared to quicksearch:

      • Not quite as fast (but fast enough)
      • Does not display an icon for the content type Heh, turns out it does display an icon :)
      • Does not display matching spaces in a separate portion at the bottom like quicksearch

      I recommend you give it a try. :)

  28. Aug 12, 2011

    Anonymous

    Hello, Is there anyone help me ?

    I would like to hide the search box on the top in the menubar of dashboard. Anyone know how hide this ? Thanks

    1. Aug 18, 2011

      You can remove it by modifying the main.vmd (assuming you are running the default theme). There are two references to the quicknav in there, on is a velocity macro the other for associative technologies (like screen readers). Remove both and you should be good. However, I have not tried this, and can not vouch for any unwanted side effects, so be sure to try it properly before changing a production server.

      1. Aug 24, 2011

        Anonymous

        Ok thanks, I'll try this. But I use PonpKong Theme. I dont know if it's possible too. I'll tell you this if it's ok or ko.

  29. Oct 19, 2011

    How can I exclude content labeled Archive from my Global Search? We have a lot of kruft that needs to be excluded from our search engine but we need to maintain for historical purposes.

    1. Oct 19, 2011

      This is a bit of a tricky problem, but doable. What you need is the following query (Assuming the user is searching for "confluence search")

      (confluence search) AND NOT labelText: Archive

      What I did here was to wrap the entire query the user wanted in parenthesis and then added the "AND NOT labelText: Archive". You should be able to do that via some javascript. Of course the entire query will show up in the search box on the results screen. If you want to hide that from the user you have little choice but to write your own plugin that does the searching and displaying of results.

      1. Oct 20, 2011

        So the only automated way to do this will be to create our own plugin?

        1. Oct 20, 2011

          Not quite. It depends on what your requirements are. You can put some javascript into the templates around searching that binds to the form submission of the search. You make this JS modify the keywords entered by the user like I mentioned above. This will result in the user seeing your modifications as part of the query on the results page. However I think this may be good, as they can then remove the "and not labelText: Archive" to also include the archived stuff, should they so wish. This should not be all that hard to do.

          1. Oct 20, 2011

            Thanks, I'll talk to one of our Engineers about helping us do this. Appreciate the help.

  30. Jan 25, 2012

    Anonymous

    In the "Where" to search the list of availabe Namespaces is truncated and hovering over doesnt show the full name. Can this be expanded to not truncate, add horizontal scrollbars or show the full name on hover?

    Thanks!

    1. Jan 26, 2012

      Hello,

      This has been reported over in our issue tracker CONF-14486 Please vote/watch that issue.

      1. Feb 01, 2012

        Anonymous

        Thank you!!