Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
General Reference
 URL Syntax
Community Content
In this section
Statistics Annotations (0)
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.

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker