This page is a snippet

For full information, see:

Snippet

 

Macro name: search

Macro body: None.

Parameter nameRequiredDefaultParameter description and accepted values
lastModifiedNo(None.)

Defines a period of time in weeks, days, hours and/or minutes. The macro will display the content modified within that time frame.

These are the values you can use:
  • w = weeks
  • d = days
  • h = hours
  • m = minutes

For example:

  • 2h 35m
  • 3d 30m

Notes:

  • If no time category is specified, Confluence assumes minutes.
  • If you specify more than one time period (for example, weeks and days), you must separate the periods with a space. You can put them in any order.
  • The time categories are not case sensitive. For example, '4d' is the same as '4D'.

queryYes(None.)

The search terms which this macro will use to generate its results.

You can refine your search query by using operators such as 'AND' and 'OR'. For example: my_term1 AND my_term2

For more information, take a look at the documentation on the Confluence search syntax.

contributorNo(None.)The username of a Confluence user. If this parameter is present, the macro will show only content created or updated by the given user.
maxLimitNo10The maximum number of search results to display.
typeNo(None.)

The type of content to include in the search results.

Accepted values:

  • page
  • comment
  • blogpost
  • attachment
  • userinfo – the content of user profiles
  • spacedesc – the content of space descriptions
  • No labels