Share via


Query Element in Microsoft.Search.Query Schema for Enterprise Search

The Query element is the parent element for the child elements that define the query. Applies to the Enterprise Search Query web service. For more information, see Enterprise Search Query Web Service Overview.

    <Query>
        <QueryId />
        <SupportedFormats>
            <Format />
         </SupportedFormats>
        <Context>
            <QueryText />
            <OriginatorContext />
        </Context>
        <Range>
            <StartAt />
            <Count />
        </Range>
        <Properties>
            <Property />
        </Properties>
        <SortByProperties>
            <SortByProperty />
        </SortByProperties>
        <EnableStemming />
        <TrimDuplicates />
        <IncludeSpecialTermResults />
        <IgnoreAllNoiseQuery />
        <IncludeRelevantResults />
    </Query>

Attributes

Attribute Description

None.

N/A

Child Elements

QueryId

SupportedFormats

Context

Range

Properties

SortByProperties

EnableStemming

TrimDuplicates

IncludeSpecialTermResults

IgnoreAllNoiseQuery

IncludeRelevantResults

ImplicitAndBehavior

IncludeHighConfidenceResults

Parent Elements

QueryPacket

Remarks

Enterprise Search supports only one Query element in the request query.

Schema name: Microsoft.Search.Query

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

Optional: No

See Also

Concepts

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