Export (0) Print
Expand All

Manage managed properties 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 article explains how to work with managed properties in Microsoft FAST Search Server 2010 for SharePoint by using Windows PowerShell.

In this article:

  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.

noteNote
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.

  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.

  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.

  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.

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)
    

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