This page last changed on Sep 10, 2005 by cmiller.
Search Confluence, and include the results in the page. The search macro behaves identically to Confluence's built-in site search.
Usage:
{search:my_query}
OR
{search:my_query|maxLimit=maxLimit}
Parameter |
Required |
Default |
Description |
query |
yes |
none |
search query (what you enter in the search box) |
maxLimit |
no |
none |
sets the maximum number of search results to return |
type |
no |
all except mail |
sets the kind of content to search |
spaceKey |
no |
none |
Limit the search to the contents of a particular space |
Available types:
type parameter |
Will search: |
all |
all content, including mail |
page |
only pages |
blogpost |
only news |
mail |
only mail |
attachment |
only attachments |
comment |
only comments |
userinfo |
only user profiles |
spacedesc |
only space descriptions |
Supplying no type will result in the search returning results from all content except mail.
Example:
{search:confluence|maxLimit=5}
gives:
Found 10288 search result(s) for confluence
(Display limit: 5)
Confluence Community
(Space Description)
space is for discussing ideas, new features and suggestions for Confluence. null
Sep 26, 2005
Labels: confluence
Offline Confluence Editor
(Atlassian Developer Network)
Offline Confluence Editor High Provide an offline client that would allow a user to add/edit pages/news/comments when disconnected. \\ Name Offline Confluence Editor Author(s) Priority High Description Provide an offline client ...
Mar 22, 2007
Labels: confluence
Confluencer
(Confluence Extension)
Name Confluencer Version 0.1 beta 4 Product Versions Author(s) Jinwoo Min Homepage http://sf.net/projects/confluencer Price $0 License not yet JavaDocs none IssueTracking none Download JAR none Download Source none ...
Oct 02, 2006
Labels: plugin, soap, xmlrpc, remote_api, delphi ... 4 more labels.
It would be nice to be able to control the output of the search macro. I would like it to output in a lot less verbose format, just a list of links would be enough for some cases.
Would it be possible to modify the search macro to do this?

Posted by at Feb 17, 2005 06:10
|
I'd also like to be able to search by author. For example, I wanted to include on someone's profile page a list of the x most recent blog posts they'd made. I tried doing a search on their name (in both proper case and lowercase) as the key, restricted to blog posts, but that returned nothing.

Posted by at Mar 03, 2005 06:51
|
I'd also like to be able to sort by parameter, like most recently updated.

Posted by at May 17, 2005 17:11
|
It would be most usefull for search results to show the relevant fragment of text

Posted by at Jun 26, 2005 20:34
|
It would be useful to link to a description of the query syntax here. It would also be worth explaining what search looks at: just page titles, or contents too? The example above suggests that it only searches page titles, which is of limited use.

Posted by at Sep 09, 2005 09:07
|
The query syntax (and results) are the same as you would get from the regular Confluence site search. We'll be improving the documentation of the site search in due course, and linking to it from the search macro documentation.
The search covers contents and titles (and various sundry metadata), but if the search term is contained in the title of a page, it will be 'boosted' higher in the search results.

Posted by cmiller at Sep 10, 2005 06:25
|
|