Document Element in Microsoft.Search.Response.Document Schema

Applies to: SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Element Information

<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 value for the result.

xmlns

urn:Microsoft.Search.Response.Document

Child Elements

Title Element in Microsoft.Search.Response.Document Schema

Action Element in Microsoft.Search.Response.Document Schema

Description Element in Microsoft.Search.Response.Document Schema

Date Element in Microsoft.Search.Response.Document Schema

Parent Elements

None.

Example

Following is an example of a search result that is included in the response formatted by 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>

Element Information

Schema name: Microsoft.Search.Response.Document

Applies to:QueryService.Query method

Optional: Yes

See Also

Reference

QueryService

Concepts

Using the Query Web Service

Walkthrough: Querying SharePoint Search From a Client Application

Microsoft.Search.Response.Document Schema