This page last changed on Jun 16, 2008 by smaddox.

The Search Macro does an inline site search and displays the results in the page.

Usage

What you need to type What you will get
{search:query=my_query}

Found 22 search result(s) for my_query

Re: Overlib Macro (Confluence Extension > Overlib Macro)
I am still waiting for the answer of my query ? Kindly help
May 30, 2008 - All Comments
Re: Search Macro (Confluence 2.8 > Search Macro)
Thanks.  I was thinking in the direction
Nov 09, 2007 - All Comments
Re: Search Macro (Confluence 2.8 > Search Macro)
Hi Mark, Yes, you might want to try the following wiki markup: Regard, MG
Feb 28, 2008 - All Comments
Search Macro (Confluence 1.4 User Guide)
Search Macro The Search Macro does an inline site search and displays the results in the page. Search Macro What you need to type What you will get \ Optional Parameters Set a limit to the number of search results displayed Specify ...
Nov 24, 2005
Re: SQL Plugin (Confluence Extension > SQL Plugin)
any way to reference a specific parameter by number rather than just '?'. As it is I am having to repeat the same value many times to get the values plugged in to the right place in my queries
Nov 09, 2007 - All Comments
Search Macro (Confluence 2.0)
Search Macro (i) You need to edit in 'Wiki Markup' mode to include macros in your page. The Search Macro does an inline site search and displays the results in the page. Search Macro What you need to type What ...
Jun 25, 2007
Search Macro (Confluence 2.5.6)
Search Macro (i) You need to edit in 'Wiki Markup' mode to include macros in your page. The Search Macro does an inline site search and displays the results in the page. Search Macro What you need to type What ...
Jun 17, 2007
Search Macro (Confluence 2.6)
Search Macro (i) You need to edit in 'Wiki Markup' mode to include macros in your page. The Search Macro does an inline site search and displays the results in the page. Search Macro What you need to type What ...
Jun 17, 2007
Search Macro (Confluence 2.7)
Search Macro (i) You need to edit in 'Wiki Markup' mode to include macros in your page. The Search Macro does an inline site search and displays the results in the page. Search Macro What you need to type What ...
Jun 17, 2007
Search Macro (Confluence 2.5)
Search Macro (i) You need to edit in 'Wiki Markup' mode to include macros in your page. The Search Macro does an inline site search and displays the results in the page. {}Search Macro{} What you need to type What ...
Sep 04, 2007
Re: Searching Confluence (Confluence 2.8 > Searching Confluence)
Hi, You may want to give a try to the search macro http://confluence.atlassian.com/display/DOC/SearchMacro, which allows you to do inline site search and display the results in a page with adding some parameters within the search macro. An ...
Nov 15, 2007 - All Comments
(outdated) Search Macro (Confluence 2.5)
outdated) Search Macro This page is outdated. Please see new page Search Macro. \\   Search Confluence, and include the results in the page . The search macro behaves identically to Confluence's builtin site search. \\ Usage: \ OR \ Parameter Required Default Description query ...
Jun 17, 2007
(outdated) Search Macro (Confluence 2.8)
outdated) Search Macro This page is outdated. Please see new page Search Macro. \\   Search Confluence, and include the results in the page . The search macro behaves identically to Confluence's builtin site search. \\ Usage: \ OR \ Parameter Required Default Description query ...
Jun 17, 2007
(outdated) Search Macro (Confluence 2.7)
outdated) Search Macro This page is outdated. Please see new page Search Macro. \\   Search Confluence, and include the results in the page . The search macro behaves identically to Confluence's builtin site search. \\ Usage: \ OR \ Parameter Required Default Description query ...
Jun 17, 2007
(outdated) Search Macro (Confluence 2.6)
outdated) Search Macro This page is outdated. Please see new page Search Macro. \\   Search Confluence, and include the results in the page . The search macro behaves identically to Confluence's builtin site search. \\ Usage: \ OR \ Parameter Required Default Description query ...
Jun 17, 2007
(outdated) Search Macro (Confluence 2.5.6)
outdated) Search Macro This page is outdated. Please see new page Search Macro. \\   Search Confluence, and include the results in the page . The search macro behaves identically to Confluence's builtin site search. \\ Usage: \ OR \ Parameter Required Default Description query ...
Jun 17, 2007
Re: Calendar Plugin (Confluence Extension > Calendar Plugin)
OK...thanks\!  So...is OSPROPERTYENTRY.ENTITYID a foreign key to CONTENT.CONTENTID?  Does this mean that if I create a new page with a calendar in it, add a calendar macro with the same id as another existing calendar, and then copy the database row, substituting the new page's CONTENTID for ENTITYID ...
Mar 16, 2006 - All Comments
Re: Search Macro (Confluence 2.8 > Search Macro)
Hi Huasoon, is it possible to search just within the current space? It is possible for you to search for a certain space by adding the spacekey parameter in the search macro. An example would be: I am thinking of using it in conjunction with the copy space plugin. In this case ...
Nov 08, 2007 - All Comments
Table Improvements Page (Confluence Community)
Table Improvements Page scheng: Confluence works well with table but it would to be nice to be able to Set the column width in % of table width Set the table width manually Set cell height specifically Center the table Not to display the lines around the table ...
Sep 18, 2004
Re: SQL Plugin (Confluence Extension > SQL Plugin)
Thanks for the reply Bob.  I actually thought of that a few minutes after posting the question and after reading through this page more closely.  But I seem to now be experiencing some problems using parameter markers.  If I put a ? in my query ...
Jun 23, 2008 - All Comments
Re: JIRA Enhancer Plugin (JIRA Extensions > JIRA Enhancer Plugin)
plugin is \exactly\ what we need\!  Nice\! However, it seems that all previously entered Jira items (prior to installing this plugin) don't show up when searching with Last Resolve Date or Last Close Date ranges even though ...
Feb 04, 2008 - All Comments
PDF File Notation Guide - Confluence.pdf (Documentation > Download the Confluence documentation)
Notation Guide Confluence http://confluence.atlassian.com/renderer/notationhelp.action?section=all 1 of 32 10/07/2007 3:21 PM Notation Guide Headings To create a header, place "hn. " at the start of the line (where n can be a number from 16 ...
PDF Document - 332 kb - Jul 10, 2007 - Download - All Attachments

Optional Parameters

Here is a list of the optional parameters. There are further usage examples below.

No Parameter Default Description
 1 maxLimit none Set a limit to the number of search results displayed.
 2 spacekey all Specify the key of the space you want to search in. Note that this is case sensitive.
 3 type all Specify the content type.
 4 lastModified none Specify a time period.

1. Setting a limit to the number of search results displayed

{search:query=my_query|maxLimit=x}

2. Specifying the key of the space you want to search

{search:query=my_query|spacekey=Doctemp}

3. Specifying the content type

The content types are: page, comment, blogpost, attachment, userinfo, spacedesc

{search:query=my_query|type=comment}

4. Specifying a time period in which the content was last modified

For example, 3d = modified in the last 3 days, 1m3d = modified in the last month and three days)

{search:query=my_query|lastModified= 2d}
Permissions

Search results will include only pages and other content types to which you have 'View' permission.
RELATED TOPICS

Searching Confluence
Working with Macros

Take me back to Confluence User Guide

Document generated by Confluence on Jun 24, 2008 18:06