Search Parameters

Search Parameter Description Example
query The search string being sought. This is typically provided by the end-user, because this is the value entered in the Search text box.

name="query"

value="conference"

folderID The folder where results can be found. If not specified, all folders are searched.

Multiple folderIDs can be specified by using multiple parameters, as shown below:

name="folderID" value="27279861",

name="folderID" value="27279865"

hostID

The hosts within the current hostgroup (site) whose pages are included in the search results. By default, only the current host is searched.

You can get the hostID values from the URL when you switch hosts from your navigation bar.

Multiple hostIDs can be specified by using multiple parameters, as shown below:

name="hostID" value="101",

name="hostID" value="29333"

includeSubfolders

Default value: false

When used in conjunction with folderID, tells search also to look in all sub-folders of the specified folders.

name="includeSubfolders" value="true"
recent

Only include items first published within the past specified number of days.

Note: If specified as a parameter, startDate and endDate are ignored.

name="recent" value="7"
startDate

Only include items first published since the specified date. Format is MM/DD/YYYY.

Note: If recent is a specified parameter, startDate is ignored.

name="startDate" value="1/4/2009"
endDate

Only include items first published before the specified date. Format is MM/DD/YYYY.

Note: If recent is a specified parameter, endDate is ignored.

name="endDate" value="12/25/2009"
type Specifies a base content type, such as Web Page, File or Image. Search results will be limited to items of the specified base type(s). name="type" value="image"
typeID Specifies an extended content type. Search results will be limited to matching items of the specified types.

name="typeID" value="13239"

You can use multiple parameters to specify multiple typeIDs (content types):

name="typeID" value="13239",

name="typeID" value="13248"

page

(In general, not a useful parameter when manually configuring a search.)

Sends the end user to a specific page in paginated search results.

Note: The standard search.jsp does not allow you to vary the number of results in search-pagination: results are always paginated in sets of 10.

name="page" value="3"