ResubmitFlags Element in Microsoft.Search.Query Schema
Applies to: SharePoint Server 2010
In this article
Attributes
Child Elements
Parent Elements
Element Information
<ResubmitFlags
<ResubmitFlag value={NoResubmit|
EnableSpellcheckOnResubmit|
EnableSpellcheckSuggestOnResubmit|
EnableStemmingOnResubmit|
AddSynonymsAutomatically}>
</ResubmitFlag>
</ResubmitFlags>
Attributes
None.
Child Elements
Parent Elements
Example
Following is an example of the ResubmitFlags element in a Microsoft.Search.Query request. This example helps ensure that a query is resubmitted automatically with automatic spelling correction and stemming enabled if no hits are returned for the original query.
<ResubmitFlags>
<ResubmitFlag value="EnableSpellcheckOnResubmit"/>
<ResubmitFlag value="EnableStemmingOnResubmit"/>
</ResubmitFlags>
Element Information
Schema name: Microsoft.Search.Query
Applies to: QueryServiceQuery() method (Microsoft.Search.Response.Document), QueryServiceQueryEx() method (Dataset)
Optional: Yes
See Also
Reference
QueryService
Concepts
Walkthrough: Querying SharePoint Search From a Client Application