Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Server Technologies
SDK Documentation
General Reference
 URL Syntax
Windows SharePoint Services Search URL Syntax

You can execute search queries against the Windows SharePoint Services 3.0 Search 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 Search.

URL Parameter Description Example

k

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

results.aspx?k=sharepoint%20search

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

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker