This documentation is archived and is not being maintained.

Requesting Row Ranges

SharePoint Portal Server 2001

You can use the HTTP Range header to request a subset of the search results. This presents the search results in reasonably-sized pages. Use the "next" and "previous" buttons or links to retrieve those sets of results. When you use the Range header to request, you must always send the entire query request.

The HTTP standard Range request header is defined for specifying the number of bytes returned. When used with the "rows" specifier, the WebDAV engine recognizes it as indicating the set of rows to return. The following table shows some examples.

Range header lineResults
Range: rows=0-9The first ten rows
Range: rows=10-19The second ten rows

WebDAV can only return a single contiguous range of results.

Related Topics

Search Errors Format

Search Request Format

Search Response Format

Special Characters in the Request