Share via


EnableSpellcheck Element in Microsoft.Search.Query Schema

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>

Element Value

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.

Attributes

None.

Child Elements

None.

Parent Elements

Query Element in Microsoft.Search.Query Schema

Element Information

Schema name: Microsoft.Search.Query

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

Optional: Yes

Default value: Off

See Also

Reference

QueryService

Concepts

Using the Query Web Service

Walkthrough: Querying SharePoint Search From a Client Application