共用方式為


SearchResultsBaseWebPart.EnableStemming Property

Gets or sets a Boolean value specifying whether stemming is enabled.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property EnableStemming As Boolean
    Get
    Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As Boolean

value = instance.EnableStemming

instance.EnableStemming = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool EnableStemming { get; set; }

Property Value

Type: System.Boolean
true if stemming is enabled; otherwise, false.

Remarks

If stemming is enabled, SharePoint Server search includes additional forms of the query term in the search. For example, if the query term is a verb, alternative tenses are included in the search query, and if the query term is a noun, then singular, plural, and possessive forms are included in the search query.

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace