ResubmitFlags Element in Microsoft.Search.Query Schema

SharePoint 2010

Last modified: April 16, 2010

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> 

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>

Schema name: Microsoft.Search.Query

Applies to: QueryServiceQuery() method (Microsoft.Search.Response.Document), QueryServiceQueryEx() method (Dataset)

Optional: Yes

Show: