Share via


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

ResubmitFlag Element in Microsoft.Search.Query Schema

Parent Elements

Query Element in Microsoft.Search.Query Schema

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

Using the Query Web Service

Walkthrough: Querying SharePoint Search From a Client Application