Export (0) Print
Expand All

ResubmitFlag 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

The effect of an automatic resubmit is that the query is modified and automatically re-evaluated before results are returned to the client.

<ResubmitFlag value={NoResubmit|
                     EnableSpellcheckOnResubmit|
                     EnableSpellcheckSuggestOnResubmit|
                     EnableStemmingOnResubmit|
                     AddSynonymsAutomatically}>
</ResubmitFlag> 

Attribute

Description

value

The action to take if no hits are found (see value Attribute below).

value Attribute

Value

Description

NoResubmit

Do not resubmit the query, but return with ZERO results.

If this attribute value is set, any other ResubmitFlag elements are ignored.

EnableSpellcheckOnResubmit

Resubmit the query with automatic spelling checking enabled. This corresponds to evaluating the query with EnableSpellCheck set to 4 when re-evaluating the query.

EnableSpellcheckSuggestOnResubmit

Resubmit the query with spelling checking enabled in suggest mode. This corresponds to evaluating the query with EnableSpellCheck set to 2 when re-evaluating the query.

Note Note

This option will still return a query result with zero hits.

EnableStemmingOnResubmit

Resubmit the query with stemming enabled. This corresponds to evaluating the query with EnableStemming set to true when re-evaluating the query.

Schema name: Microsoft.Search.Query

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

Optional: Yes

Show:
© 2015 Microsoft