The Search Results macro searches your Confluence site based on search terms specified in the macro code, and displays the results on the wiki page.

Using the Search Results Macro

ページに検索結果マクロを追加するには:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

オートコンプリートでマクロを素早く入力する方法

Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.

To edit an existing macro: Click the macro placeholder and choose Edit. This will display the parameters of the macro in the Macro Browser.

パラメーター

パラメータは、マクロ出力の内容や形式を制御するために設定するオプションです。

パラメーター

既定

説明

Search Terms

なし

このマクロが結果の生成に使用する検索語です。

"AND" や "OR" などの演算子を使用して検索クエリを調整できます。例: my_query1 AND my_query2

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

Maximum Number of Results

10

表示される検索結果数の制限を設定します。

このスペース キーに制限する

すべて

Specify the key of the space you want to search in. Note that this is case-sensitive.

Content Type

すべて

コンテンツ タイプを指定します。コンテンツ タイプには次があります。pagecommentblogpostattachmentuserinfo (ユーザー プロファイルのコンテンツのみ) および spacedesc (スペース説明のコンテンツのみ)。

最終変更

すべて

Specify a period of time in weeks, days, hours and/or minutes, to see the content modified within that time frame. For example:

  • 2h 35m
  • 3d 30m
    These are the values you can use:
  • w = 週
  • d = 日
  • h = 時間
  • m = minutes
    If no time category is specified, Confluence assumes minutes.
    If you specify more than one time period (e.g. weeks and days), the periods must be separated by a space and they can come in any order.
    The time categories are not case sensitive e.g. '4d' is the same as '4D'.

Restrict to this Username

すべて

Confluence ユーザーのユーザー名を指定し、そのユーザーによって作成または更新されたコンテンツのみを表示します。

権限

When a user views the page containing the Search Results macro, the search results will show only pages and other content types for which the user has 'View' permission.

関連トピック

Livesearch Macro
Searching Confluence
Working with Macros

Take me back to the Confluence User's Guide.