Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Document Element in Microsoft.Search.Response.Document Schema

Last modified: April 19, 2010

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>

Attribute

Description

type

Contains the scope for the result.

relevance

Contains the rank value for the result.

xmlns

urn:Microsoft.Search.Response.Document

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>

Schema name: Microsoft.Search.Response.Document

Applies to: QueryService.Query method

Optional: Yes

Show:
© 2015 Microsoft