EnableSpellcheck Element in Microsoft.Search.Query Schema

SharePoint 2010

Last modified: April 16, 2010

Applies to: SharePoint Server 2010

In this article
Element Value
Attributes
Child Elements
Parent Elements
Element Information

For more information about the Query Web service, see Using the Query Web Service.


<EnableSpellcheck>
   {off|suggest|on}
</EnableSpellcheck>

The element value specifies the spelling correction mode to apply to the query.

Enumeration value

Description

Off

Do not apply spelling correction to the query text.

Suggest

Suggest transformed (spelled correctly) query in the result, but do not apply spelling checking to the actual query performed. This enables the Did You Mean feature search tip in the result pages.

On

Apply spelling corrections to the query text before evaluating the query.

Schema name: Microsoft.Search.Query

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

Optional: Yes

Default value: Off

Show: