Share via


Document Element in Microsoft.Search.Response.Document Schema for Windows SharePoint Services Search

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The parent element for an individual search result returned in the response.

<Document type=Scope relevance=Rank xmlns=string >
   <Title>title</Title>
   <Action><LinkUrl fileExt=fileType size=fileSize>Url</LinkUrl></Action>
   <Description>description</Description>
   <Date>date</Date>
</Document>

Attributes

Attribute

Description

type

Contains the scope for the result.

relevance

Contains the Rank for the result.

xmlns

urn:Microsoft.Search.Response.Document

Child Elements

Title

Action

Description

Date

Parent Element

None.

Example

Following is an example of a search result included in a response formatted using the Microsoft.Search.Response.Document format.

<Document relevance="598" xmlns="urn:Microsoft.Search.Response.Document">
    <Title>Marketing Guide</Title>
    <Action>
        <LinkUrl size="222720" fileExt="doc">file://SharePointServer/Marketing/marketinguide.doc</LinkUrl>
    </Action>
    <Description></Description>
    <Date>2005-08-02T16:00:57.7632785-07:00</Date>
</Document>

Remarks

Schema name: Microsoft.Search.Response.Document

Applies to: Query Web method

See Also

Other Resources

Microsoft.Search.Response.Document Schema for Enterprise Search

Enterprise Search Query Web Service Overview