Enable stemming for a managed property by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

 

Applies to: FAST Search Server 2010

Tip

As a best practice, you should only enable stemming for a managed property if the property contains free text with inflected noun/adjective forms or user searches this property using inflectional variants.

  1. Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.

  2. On the Start menu, click All Programs.

  3. Click Microsoft FAST Search Server 2010 for SharePoint.

  4. Click Microsoft FAST Search Server 2010 for SharePoint shell.

  5. At the Windows PowerShell command prompt, type the following command(s):

    $mp = Get-FASTSearchMetadataManagedProperty -name <ManagedProperty>
    

    Where:

    • <ManagedProperty> is the name of the managed property for which you want to enable stemming, for example DocComments.
  6. Enable stemming:

    $mp.StemmingEnabled=1
    
  7. Update the managed property:

    $mp.update()
    
  8. Verify that stemming was enabled for the managed property:

    $mp
    
    >> Name                                   :         DocComments
    >> Description                            :         
    >> Type                                   :         Text
    >> Queryable                              :         True
    >> StemmingEnabled                        :         True
    >> RefinementEnabled                      :         False
    >> MergeCrawledPfopertiesAuthorityWeight  :         False
    >> SubstringEnabled                       :         False
    >> DeleteDisallowed                       :         False
    >> MappingDisallowed                      :         False
    >> MaxIndexSize                           :         1024
    >> MaxResultSize                          :         64
    >> DecimalPlaces                          :         3
    >> SortableType                           :         SortableDisabled
    >> SummaryType                            :         Disabled
    

See also

Query.EnableStemming Property