Condividi tramite


Map a managed property to a full-text index at a specific importance level by using Windows PowerShell (FAST Search Server 2010 for SharePoint)(informazioni in lingua inglese)

Aggiornato: 10 febbraio 2011

  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 that you want to map to a full-text index, for example body.
  6. View the importance level for the managed property:

    $mp.GetFullTextIndexMappings()
    
    >> ImportanceLevel: 1
    >> ManagedProperty: body
    >> FullTextIndex: content
    
  7. Get the full text index:

    $fuu = Get-FASTSearchMetadataFullTextIndexMapping|Where-Object {$_.ManagedProperty.Name -eq “<ManagedProperty>”}
    

    Where:

    • <ManagedProperty> is the name of the managed property that you want to map to a full-text index, for example body.
  8. Remove the current importance level mapping:

    Remove-FASTSearchMetadataFullTextIndexMapping -Mapping $fuu
    
  9. Set the new importance level:

    New-FASTSearchMetadataFullTextIndexMapping –ManagedProperty (Get-FASTSearchMetadataManagedProperty Body) –FullTextIndex (Get-FASTSearchMetadataFullTextIndex content) –Level <ImportanceLevel>
    
    

    Where:

    • <ImportanceLevel> is the importance level you want to give this managed property, for example 2 (valid values are 1 through 7, with 7 indicating the highest importance).

Nota

You have to re-feed the content for the importance level change to take effect.

See also

FullTextIndexMapping Interface

Set-FASTSearchMetadataFullTextIndexMapping

Cronologia delle modifiche

Data Descrizione Motivo

10 febbraio 2011

2011/02/07

Aggiornamento contenuto

12 maggio 2010

Pubblicazione iniziale