Share via


Document Element in Microsoft.Search.Response.Document Schema for Enterprise Search

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 Element in Microsoft.Search.Response.Document Schema for Enterprise Search

Action Element in Microsoft.Search.Response.Document Schema for Enterprise Search

Description Element in Microsoft.Search.Response.Document Schema for Enterprise Search

Date Element in Microsoft.Search.Response.Document Schema for Enterprise Search

Parent Elements

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

Concepts

Microsoft.Search.Response.Document Schema for Enterprise Search
Enterprise Search Query Web Service Overview