Share via


Manage managed properties by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

 

Applies to: FAST Search Server 2010

This article explains how to work with managed properties in Microsoft FAST Search Server 2010 for SharePoint by using Windows PowerShell.

In this article:

  • Display the properties of a managed property by using Windows PowerShell

  • Make a managed property queryable by using the Set-FASTSearchMetadataManagedProperty Windows PowerShell cmdlet

  • Make a managed property queryable by updating the properties on the managed property object

  • Enable merging of crawled property values by using Windows PowerShell

  • Set size properties for a managed property by using Windows PowerShell

Display the properties of a managed property by using Windows PowerShell

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

    Get-FASTSearchMetadataManagedProperty -Name "<ManagedPropertyName>"
    

    Where:

    • <ManagedPropertyName> is the name of the managed property you want to update.

Note

Some of these properties are set when the managed property is created and are not possible to update, such as the managed property Name or Type.

See also

Make a managed property queryable by using the Set-FASTSearchMetadataManagedProperty Windows PowerShell cmdlet

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

    Set-FASTSearchMetadataManagedProperty -Name "<ManagedPropertyName>" -Queryable <QueryableFlag>
    

    Where:

    • <ManagedPropertyName> is the name of the managed property.

    • <QueryableFlag> is a Boolean indicating whether the managed property should be queryable or not. Set to $true if the managed property should be queryable, if not set to $false.

See also

Make a managed property queryable by updating the properties on the managed property object

  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 "<ManagedPropertyName>"
    $mp.Queryable = <QueryableFlag>
    $mp.Update()
    

    Where:

    • <ManagedPropertyName> is the name of the managed property.

    • <QueryableFlag> is a Boolean indicating whether the managed property should be queryable or not. Set to $true if the managed property should be queryable, if not set to $false.

See also

Enable merging of crawled property values by using Windows PowerShell

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

    Set-FASTSearchMetadataManagedProperty -Name "<ManagedPropertyName>" -MergeCrawledProperties <Flag>
    

    Where:

    • <ManagedPropertyName> is the name of the managed property.

    • <Flag> is a Boolean indicating whether mapped crawled properties should be merged, or not. Use $true to merge, $false if not.

See also

Set size properties for a managed property by using Windows PowerShell

A managed property has two size-related properties, MaxIndexSize and MaxResultSize. These properties define the maximum number of kilobytes used for indexing the managed property, and the maximum number of kilobytes returned by the managed property as part of the search result. The following example doubles the value for these properties:

  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 Title
    Set-FASTSearchMetadataManagedProperty -Name Title -MaxIndexSize ($mp.MaxIndexSize*2) -MaxResultSize ($mp.MaxResultSize*2)
    

See also