Enterprise Search URL Syntax Reference

SharePoint 2007

You can execute search queries against the Enterprise Search in Microsoft Office SharePoint Server 2007 service by encoding your query in a URL and posting it to the search page.

Parameters

The following table describes the URL search parameters that you can use with Enterprise Search.

URL Parameter Description Example

k

Specifies the keywords. You can only specify one value for this parameter.

results.aspx?k=sharepoint%20search

s

Specifies the search scope. This parameter can contain multiple values, separated by %2c.

results.aspx?s=SDKContent

results.aspx?s=SDKContent%2cTechnicalArticles

v

Specifies the result view that is to be used for the query.

This parameter must be either:

relevance - results are sorted by relevance

date - results are sorted by date

results.aspx?v=date

results.aspx?v=relevance

start

Specifies which results page number to show.

results.aspx?start=3

Remarks

If your search results page contains multiple queries, you can specify which query the parameter applies to by appending a number from 1 to 5, indicating the Search Query Results ID, between the parameter and the "=" character in the URL.

See Also

Community Additions

ADD
Show: