KeywordQuery.EnableSpellcheck Property

Applies to: Microsoft FAST Search Server 2010 for SharePoint
Specifies how to apply spell correction of the query terms when processing the query. For details, see Linguistic Query Features (FAST Search Server 2010 for SharePoint).

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property EnableSpellcheck As SpellcheckMode
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As SpellcheckMode

value = instance.EnableSpellcheck

instance.EnableSpellcheck = value
public SpellcheckMode EnableSpellcheck { get; set; }

Property Value

Type: Microsoft.Office.Server.Search.Query.SpellcheckMode
A value from the SpellcheckMode enumeration.

See Also

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace