共用方式為


Query Element in Microsoft.Search.Query 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 Query element is the parent element for the child elements that define the query. Applies to the Search Query Web service. For more information, see Windows SharePoint Services Query Web Service.

<Query>
     <QueryId />
     <SupportedFormats>
         <Format />
      </SupportedFormats>
     <Context>
         <QueryText />
         <OriginatorContext />
     </Context>
     <Range>
         <StartAt />
         <Count />
     </Range>
     <EnableStemming />
     <TrimDuplicates />
     <IgnoreAllNoiseQuery />
     <IncludeRelevantResults />
</Query>

Attributes

Attribute

Description

None.

N/A

Child Elements

QueryId

SupportedFormats

Context

Range

EnableStemming

TrimDuplicates

IgnoreAllNoiseQuery

IncludeRelevantResults

ImplicitAndBehavior

Parent Elements

QueryPacket

Remarks

Search in Windows SharePoint Services supports only one Query element in the request query.

Schema name: Microsoft.Search.Query

Applies to: QueryService.Query web method (Microsoft.Search.Response.Document), QueryService.QueryEx web method (System.Data.Dataset)

Optional: No

See Also

Concepts

Windows SharePoint Services Query Web Service

Microsoft.Search.Query Schema