Enterprise Search URL Syntax Reference
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. |
|
|
s |
Specifies the search scope. This parameter can contain multiple values, separated by %2c. |
|
|
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 |
|
|
start |
Specifies which results page number to show. |
|
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
E.g. In order to search for the keyword "sharepoint" within a managed property "companies", you should enter "sharepoint companies:microsoft" in the search text box.
This can be avoided by using the following URL - http://www.contoso.com/search/results.aspx?k=sharepoint&a=companies:microsoft
- 2/15/2011
- Arun P. Nair
u = http;//www.contoso.com This will restrict the result set to include only items that are located on the url specified
- 11/9/2010
- Neil Hodgkinson - MSFT - MCM