Query Element in Microsoft.Search.Query Schema

Last modified: April 21, 2010

Applies to: SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements


    <Query>
        <QueryId />
        <Context>
            <QueryText />
        </Context>
        <Range>
            <StartAt />
            <Count />
        </Range>
        <Properties>
            <Property />
        </Properties>
        <SortByProperties>
            <SortByProperty />
        </SortByProperties>
        <ImplicitAndBehavior />
        <RelevanceModel />
        <EnableStemming />
        <TrimDuplicates />
        <IncludeSpecialTermResults />
        <PreQuerySuggestions />
        <HighlightQuerySuggestions />
        <CapitalizeFirstLetters />
        <ResultProvider />
        <ResubmitFlags>
            <ResubmitFlag />
        </ResubmitFlags>
        <EnableSpellcheck />
        <UserContext>
            <UserContextData />
        </UserContext>
        <FindSimilar>
            <SimilarTo />
            <SimilarType />
            <SortSimilar />
        </FindSimilar>
        <IncludeRefinementResults>
            <Refiners>
               <Refiner />
            </Refiners>
            <MaxShallowRefinementHits />
        </IncludeRefinementResults>
        <RefinementFilters>
            <RefinementFilter />
        </RefinementFilters>
        <IgnoreAllNoiseQuery />
        <IncludeRelevantResults />
        <IncludeHighConfidenceResults />
    </Query>

Attribute

Description

None.

N/A

Only one Query element is supported in the request query.

Schema name: Microsoft.Search.Query

Applies to: QueryService.Query method (Microsoft.Search.Response.Document), QueryService.QueryEx method (DataSet Class)

Optional: No

Show: