Export (0) Print
Expand All

Add or remove items in include and exclude lists by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

FAST Search Server 2010
 

Applies to: FAST Search Server 2010

Topic Last Modified: 2011-08-05

This topic explains how to add or remove items in include and exclude lists in Microsoft FAST Search Server 2010 for SharePoint by using Windows PowerShell.

In this topic:

  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):

    $entityExtractorContext = New-Object -TypeName Microsoft.SharePoint.Search.Extended.Administration.EntityExtractorContext 
    $entityExtractors = $entityExtractorContext.TermEntityExtractors 
    $entityExtractor
    foreach ($extractor in $entityExtractors) { if ($extractor.Name -eq "<ExtractorTypeName>") { $entityExtractor = $extractor } }
    $entityExtractor.Inclusions.Add("<InclusionTerm>") 
    
    

    Where:

    • <ExtractorTypeName> is the kind of term property extractor that is to be populated with a new term. Three term property extractor types are available: companies, locations, and personnames.

    • <InclusionTerm> is the term to be included in entity extraction.

  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):

    $entityExtractorContext = New-Object -TypeName Microsoft.SharePoint.Search.Extended.Administration.EntityExtractorContext 
    $entityExtractors = $entityExtractorContext.TermEntityExtractors 
    $entityExtractor
    foreach ($extractor in $entityExtractors) { if ($extractor.Name -eq "<ExtractorTypeName>") { $entityExtractor = $extractor } }
    $entityExtractor.Exclusions.Add("<ExclusionTerm>") 
    
    

    Where:

    • <ExtractorTypeName> is the kind of term property extractor that is to be populated with a new term. Three term property extractor types are available: companies, locations, and personnames.

    • <ExclusionTerm> is the term that should excluded from entity extraction.

  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):

    $entityExtractorContext = New-Object -TypeName Microsoft.SharePoint.Search.Extended.Administration.EntityExtractorContext
    $entityExtractors = $entityExtractorContext.TermEntityExtractors
    $entityExtractor
    foreach ($extractor in $entityExtractors) { if ($extractor.Name -eq "<ExtractorTypeName>") { $entityExtractor = $extractor } }
    foreach ($entityToAdd in $entitiesToAdd) { $extractor.Inclusions.Add( $entityToAdd ) }
    
    

    Where:

    • <ExtractorTypeName> is the kind of term property extractor that is to be populated with a new term. Three term property extractor types are available: companies, locations, and personnames.

  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):

    $entityExtractorContext = New-Object -TypeName Microsoft.SharePoint.Search.Extended.Administration.EntityExtractorContext
    $entityExtractors = $entityExtractorContext.TermEntityExtractors
    $entityExtractor
    foreach ($extractor in $entityExtractors) { if ($extractor.Name -eq "<ExtractorTypeName>") { $entityExtractor = $extractor } }
    $entityExtractor.Inclusions.Clear()
    

    Where:

    • <ExtractorTypeName> is the kind of term property extractor the items will be removed from. Three term property extractor types are available: companies, locations, and personnames.

  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):

    $entityExtractorContext = New-Object -TypeName Microsoft.SharePoint.Search.Extended.Administration.EntityExtractorContext
    $entityExtractors = $entityExtractorContext.TermEntityExtractors
    $entityExtractor
    foreach ($extractor in $entityExtractors) { if ($extractor.Name -eq "<ExtractorTypeName>") { $entityExtractor = $extractor } }
    foreach ($entityToAdd in $entitiesToAdd) { $extractor.Exclusions.Add( $entityToAdd ) }
    

    Where:

    • <ExtractorTypeName> is the kind of term property extractor that is to be populated with a new term. Three term property extractor types are available: companies, locations, and personnames.

  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):

    $entityExtractorContext = New-Object -TypeName Microsoft.SharePoint.Search.Extended.Administration.EntityExtractorContext
    $entityExtractors = $entityExtractorContext.TermEntityExtractors
    $entityExtractor
    foreach ($extractor in $entityExtractors) { if ($extractor.Name -eq "<ExtractorTypeName>") { $entityExtractor = $extractor } }
    $entityExtractor.Exclusions.Clear()
    
    

    Where:

    • <ExtractorTypeName> is the kind of term property extractor the items will be removed from. Three term property extractor types are available: companies, locations, and personnames.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft