Query Element in Microsoft.Search.Query Schema
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>
Attributes
Attribute |
Description |
---|---|
None. |
N/A |
Child Elements
Parent Elements
Remarks
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
See Also
Reference
Concepts
Walkthrough: Querying SharePoint Search From a Client Application